antvis / data-set

state driven all in one data process for data visualization.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bin 统计的嵌套问题

dxq613 opened this issue · comments

commented
  • Link:
  • Platform:
  • Mini Showcase(like screenshots):
// 直方图
chart.interval().position(Stat.summary.count(Stat.bin.rect('depth')));
// 六边形封箱
chart.polygon().position(Stat.summary.bin('x*y')).color(Stat.summary.count());
chart.polygon().position(Stat.summary.bin('x*y')).color(Stat.summary.max('z'));