Algorithm for “nice” grid line intervals on a graph

前端 未结 14 1246
长发绾君心
长发绾君心 2020-11-28 01:45

I need a reasonably smart algorithm to come up with \"nice\" grid lines for a graph (chart).

For example, assume a bar chart with values of 10, 30, 72 and 60. You k

14条回答
  •  执念已碎
    2020-11-28 02:08

    I am the author of "Algorithm for Optimal Scaling on a Chart Axis". It used to be hosted on trollop.org, but I have recently moved domains/blogging engines.

    Please see my answer to a related question.

提交回复
热议问题