search

Home  >  Q&A  >  body text

java - Question about the display height of bar chart.

When displaying the histogram, some data may be too large, resulting in a small display height of other data.
For example, one data is 10,000, and other data are all around 100. At this time, only the column with 10,000 will appear to be the highest, and the others are so short that they cannot be seen clearly.
How to solve this problem?
Thanks.

世界只因有你世界只因有你2768 days ago654

reply all(1)I'll reply

  • 巴扎黑

    巴扎黑2017-05-27 17:42:44

    The logarithm of the original data can be used as the height of the column. For example, the corresponding column heights of 10000 and 100 become 4 and 2, and the difference is not that big.

    reply
    0
  • Cancelreply