ecomfe / echarts-stat

Statistics tool for Apache ECharts
597 stars 309 forks source link

关于expression和points返回结果出错 #25

Closed NJAUzhangwenjun closed 5 years ago

NJAUzhangwenjun commented 5 years ago

data:[ [1, "0.5"],[2, "0.75"],[3, "1"],[4, "1.25"],[5, "1.5"],[6, "1.75"],[7, "2"],[8, "2.25"], ]

返回错误数值:

myRegression.expression返回结果为:y = NaNx + NaN, myRegression.points二维数组返回结果为:  [ [1, NaN],[2, NaN],[3, NaN],[4, NaN],[5, NaN],[6, NaN],[7, NaN],[8, NaN] ]

NJAUzhangwenjun commented 5 years ago

已得到解决

1234567845246 commented 3 years ago

已得到解决

请问你这个是怎么解决的