{"type":"line","data":{"datasets":[{"id":"simplifyWASM","label":"Simplify.wasm","yAxisID":"performance","fill":false,"backgroundColor":"red","borderColor":"red","data":[8.19074960127592,6.803129074315513,6.635561160151322,6.396153846153847,6.209331651954601,6.016949152542371,5.897619047619049,5.748264729620661,5.646962233169127,5.618390804597698,5.486666666666667,5.455555555555556,5.385792349726777,5.350819672131149,5.258474576271186,5.250000000000002,5.147916666666669,5.159375,5.128124999999999,5.092708333333334,4.972709551656922,5.034957627118644,4.96311066799601,4.940179461615155,4.826422372227579,4.791706846673096,4.815686274509804,4.78529411764706,4.7172675521821645,4.741187739463601,4.715437022266533,5.190909414613302,5.264581256231305,4.96046287367406,5.127928713858425,4.955890522875818,5.162512462612164,5.030392156862744,5.068366013071895],"stack":"a"},{"id":"simplifyJS","label":"Simplify.js","yAxisID":"performance","fill":false,"backgroundColor":"blue","borderColor":"blue","data":[19.730769230769233,18.551851851851857,17.687719298245618,16.939999999999994,16.513333333333335,16.013114754098353,15.533333333333342,15.104166666666659,14.842261904761903,14.652046783625731,14.428735632183915,14.321839080459774,14.287356321839073,14.152298850574711,13.696721311475407,13.878531073446334,13.694444444444448,13.568306010928964,13.392473118279577,13.513661202185794,13.346994535519122,13.314207650273218,12.971428571428564,12.923469387755096,12.578817733990146,12.604010025062653,12.60459183673469,12.401002506265664,12.263546798029551,12.32758620689655,12.24213075060533,14.627450980392154,13.424914965986394,13.292640692640697,13.183673469387747,12.763546798029558,13.150510204081632,12.631961259079904,12.432606941081516],"stack":"a"},{"id":"simplifyJSAlt","label":"Simplify.js Alternative","yAxisID":"performance","fill":false,"backgroundColor":"green","borderColor":"green","data":[12.879310344827587,12.169491525423724,11.285714285714291,10.747844827586206,10.65948275862069,10.196721311475412,9.86159844054581,9.80458089668616,9.559386973180075,9.660919540229883,9.399246704331451,9.25988700564972,9.129629629629635,8.938596491228072,9.016033138401557,8.77368421052631,8.61379310344827,8.784210526315789,8.717241379310346,8.543103448275866,8.575862068965518,8.59103313840156,8.420338983050841,8.219672131147533,8.123763955342903,8.01287878787879,8.027751196172252,7.939393939393942,7.838557993730413,7.987240829346097,8.456198347107438,9.951717171717172,8.720338983050846,8.490163934426227,8.264516129032259,8.496666666666662,8.505000000000002,8.436065573770486,8.439173553719008],"stack":"a"},{"id":"numberOfNodes","type":"line","label":"# of positions","yAxisID":"nodes","fill":false,"backgroundColor":"grey","borderColor":"grey","data":[2041,1118,799,624,504,413,364,314,287,257,238,225,214,197,179,168,160,155,147,144,136,132,125,119,111,107,103,97,96,95,94,91,90,88,85,85,83,76,73],"stack":"a"},{"label":"Dataset: Simplify.js example (73.752 points)","data":[]},{"label":"High quality mode: true","data":[]},{"label":"Platform: Microsoft Edge 18.18362 on Windows 10 64-bit","data":[]}],"labels":[0.05,0.1,0.15,0.2,0.25,0.3,0.35,0.4,0.45,0.5,0.55,0.6,0.65,0.7,0.75,0.8,0.85,0.9,0.95,1,1.05,1.1,1.15,1.2,1.25,1.3,1.35,1.4,1.45,1.5,1.55,1.6,1.65,1.7,1.75,1.8,1.85,1.9,1.95]},"options":{"defaultColor":"rgba(0,0,0,0.1)","defaultFontColor":"#666","defaultFontFamily":"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif","defaultFontSize":12,"defaultFontStyle":"normal","defaultLineHeight":1.2,"showLines":true,"animation":{"duration":0,"easing":"easeOutQuart"},"elements":{"arc":{"backgroundColor":"rgba(0,0,0,0.1)","borderColor":"#fff","borderWidth":2,"borderAlign":"center"},"line":{"tension":0.4,"backgroundColor":"rgba(0,0,0,0.1)","borderWidth":3,"borderColor":"rgba(0,0,0,0.1)","borderCapStyle":"butt","borderDash":[],"borderDashOffset":0,"borderJoinStyle":"miter","capBezierPoints":true,"fill":true},"point":{"radius":3,"pointStyle":"circle","backgroundColor":"rgba(0,0,0,0.1)","borderColor":"rgba(0,0,0,0.1)","borderWidth":1,"hitRadius":1,"hoverRadius":4,"hoverBorderWidth":1},"rectangle":{"backgroundColor":"rgba(0,0,0,0.1)","borderColor":"rgba(0,0,0,0.1)","borderSkipped":"bottom","borderWidth":0}},"layout":{"padding":{"top":0,"right":0,"bottom":0,"left":0}},"plugins":{"filler":{"propagate":true}},"tooltips":{"enabled":true,"custom":null,"mode":"index","position":"average","intersect":false,"backgroundColor":"rgba(0,0,0,0.8)","titleFontStyle":"bold","titleSpacing":2,"titleMarginBottom":6,"titleFontColor":"#fff","titleAlign":"left","bodySpacing":2,"bodyFontColor":"#fff","bodyAlign":"left","footerFontStyle":"bold","footerSpacing":2,"footerMarginTop":6,"footerFontColor":"#fff","footerAlign":"left","yPadding":6,"xPadding":6,"caretPadding":2,"caretSize":5,"cornerRadius":6,"multiKeyBackground":"#fff","displayColors":true,"borderColor":"rgba(0,0,0,0)","borderWidth":0,"callbacks":{},"axis":"x"},"events":["mousemove","mouseout","click","touchstart","touchmove"],"hover":{"onHover":null,"mode":"nearest","intersect":false,"animationDuration":400,"axis":"xy"},"onClick":null,"maintainAspectRatio":true,"responsive":true,"responsiveAnimationDuration":0,"legend":{"display":true,"position":"bottom","fullWidth":true,"reverse":false,"weight":1000,"onHover":null,"onLeave":null,"labels":{"boxWidth":40,"padding":10}},"title":{"display":true,"fontStyle":"bold","fullWidth":true,"padding":10,"position":"top","text":"Simplify.wasm vs. Simplify.js","weight":2000},"spanGaps":false,"scales":{"xAxes":[{"display":true,"position":"bottom","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":true,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Tolerance (length)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0}},"type":"category","id":"x-axis-0","stacked":false}],"yAxes":[{"display":true,"position":"left","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":true,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Performance - Milliseconds per operation (ms)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"min":0},"type":"linear","id":"performance","stacked":false},{"display":true,"position":"right","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":false,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Number of positions in result (#)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"min":0},"id":"nodes","type":"linear"}]}}}