score:6
You need to make a use of formatter:
formatter: function(){
return this.value/1000000 + "M";
}
score:3
To utilize the built in "shortening" functionality you can just remove your yAxis.label.format
. You have currently set it to {value}
, which is the default, but manually setting it seems to prevent the metric prefixes from being applied.
Look at this JSFiddle example, where all I've changed is removing the following line from both of your y-axis labels:
format: '{value}'
With this automatic shortening the following metric prefixes may be applied:
[ "k" , "M" , "G" , "T" , "P" , "E"]
You can set your own values with the lang.numericSymbols
option (API).
Source: stackoverflow.com
Related Query
- Convert the y-axis values to Millions in dual axis high charts
- How to append dynamic values to the area chart in High charts or convert the data to arrays?
- dynamically creating the values for high charts
- High Charts / StockChart: x axis values
- how to pass the dates to the x-axis in the base line high charts instead of the values
- High charts not showing all the values on X-asix
- How to set the x axis dynamically in High Charts 2.3.5
- High charts remove dots from the line graph
- How to set the x value for High Charts error bar
- Highchart: can I make sure the values on the Y axis are only integers?
- High charts - Increasing the space between chart and title
- Is it possible to reparent the high charts legend?
- Is there a way to scale the custom marker of a high charts scatter chart?
- High Charts : Equal spacing for X Axis for unequal interval
- High Charts export image on the server
- Array split with the help of object categories values of array- Javascript - High Chart
- High Charts add variance instead of values
- How to make the Y Axis values not start from 0 in highcharts? How to display forcefully display the last category data on X axis in HighCharts ?
- Remove the border around the pie chart in high charts
- High Charts Column Chart - Y axis Label Formatting
- High charts not displaying date correctly in x axis per epoch?
- Adding multiple series to the spline chart using dotnet high charts in asp.net mvc3
- high chart data grouping is not considering all the values while zooming
- x axis label word wrap in high charts for radar chart
- Changing the color of each column in high charts
- Strange character in the Highstock source code
- not able to show x axis data with datetimelabel format with {hh:mm} in high charts
- Enabling scroll bar on y-axis of the high charts heatmap showing up some additional y-axis labels
- Highchart is not working when I am fetching the axis values from database
- Display the total count of json key-value pairs in the series in high charts
More Query from same tag
- Drawing a simple graph using projected lines
- Checkbox behavior after accessing a post method in rails app
- When using Highcharts, how do you get the point name from a data point series?
- Highcharts tooltip get position and change class
- Plotting the below json in a HighChart
- How to pass the another variable to the Highchart basic line which should be dynamic
- How to make highchart points redirect to another component with value in React?
- how to add horizontal line over columns at different values
- centering text in highchart pie on responsive
- Adding vertical line on xAxis in HighStock
- How can I change data series dynamically in HighCharts without overwriting initial series?
- Highcharts navigation button and fullscreen button in bootstrap
- Highcharts - Fix chart height when it has legends
- highcharts line-ajax example/demo
- rCharts : Highcharts column with color based on value
- Aligning the xAxis of highcharts
- Setting the length of the X-Axis of a Highchart to be 24 hours from time of first data point with less than 24 hours of data to display
- HighCharts Add Comments
- Dynamic pointStart in HighCharts ( RoR)
- Highcharts Column type visualization: multiple data points for the same Xaxis label
- Add null values to Array Javascript
- Disable all UI events on highcharts
- While loop not working in the series data highcharts - php
- How to make highcharts boxplot with drilldown?
- Highcharts gauge: Circle points on gauge
- How to draw the line maximum Height for Highchart(area spline)
- Highcharts polygon with no fill
- Area chart,scrollable, with selectors and range filters
- Highchart on mobile (Touch to zoom out and zoom in) - LineChart
- put labels on the right of the chart area in HighCharts