java - Question about the display height of bar chart.
世界只因有你
世界只因有你 2017-05-27 17:40:44
0
1
563

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.

世界只因有你
世界只因有你

reply all (1)
巴扎黑

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.

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!