javascript - displaying entire value on the y-axis in highcharts when the range between the intervals are high -
if data small y-axis looks enter image description here
but if data range high enter image description here
how can remove dots , show entire value in 2 image displaying in 1st image
formatter: function() { var value = this.value.tofixed( 0 ); if ( value > 999999999 ) { return parseint( value / 1000000000 ) + 'b'; } else if ( value > 999999 ) { return parseint( value / 1000000 ) + 'm'; } else if ( value > 9999 ) { return parseint( value / 1000 ) + 'k'; } else { return parseint( value ); } }
Comments
Post a Comment