ecomfe / echarts-stat

Statistics tool for Apache ECharts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

关于直方图间隔个数

jungyil opened this issue · comments

现在, 直方图提供了四种计算小区间间隔个数的方法,分别是 squareRoot, scott, freedmanDiaconis 和 sturges,
可不可以自定义间隔区间?
比如:[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], 我想按2 或 3 或 4 或 6来间隔bins