Home > Back-end >  High charts is not showing values properly on line chart
High charts is not showing values properly on line chart

Time:10-17

trying to create highcharts as in fiddle
https://jsfiddle.net/o2sgjtr1/1/

Where the line chart value 2 and 4 but the line still shows zero value not sure what should the configure to get the proper scaling

CodePudding user response:

Setting the yAxis.type to logarithimic is the best way to deal with your problem. Logarithmic axes can be useful when dealing with data with spikes or large value gaps, as they allow variance in the smaller values to remain visible.


Live demo: https://jsfiddle.net/BlackLabel/ar7z1pvt/

API Reference: https://api.highcharts.com/highcharts/yAxis.type

  • Related