G2Plot icon indicating copy to clipboard operation
G2Plot copied to clipboard

improve(Histogram): Auto calculate range tickInterval by binWidth and binNumber

Open dengfuping opened this issue 2 years ago • 4 comments

PR includes

  • [x] add / modify test cases
  • [x] documents, demos

Screenshot

  • In most scenarios, binWidth is always same as tickInterval. So auto calculating tickInterval is more convenient.
  • Grafana demo:

image

  • when binWidth is 2:
Before After
image image

dengfuping avatar Mar 07 '23 09:03 dengfuping

单侧似乎报错了。

hustcc avatar May 22 '23 11:05 hustcc

单侧似乎报错了。

单测一直没有跑完,看了下其他 PR 也是这样,是否是项目配置的问题?

image

dengfuping avatar Jun 25 '23 12:06 dengfuping

rebase 一下 master 应该可以运行了。

hustcc avatar Jun 26 '23 02:06 hustcc

coordinate不能更新的问题能优化一下么

18211365467 avatar Sep 18 '23 07:09 18211365467