score:11
Accepted answer
unfortunately in this case, you have to either take the pre formatted label, or rebuild the level of abbreviation you want in the formatter yourself.
in this case, you could something like
yaxis: {
labels: {
formatter: function() {
return '$'+this.value / 1000000 + 'm';
}
}
},
score:0
put this code before call the chart
highcharts.setoptions({
lang: {
thousandssep: ','
}
});
score:5
according to this stackoverflow post, you can call the original formatter with:
this.axis.defaultlabelformatter.call(this);
Source: stackoverflow.com
Related Query
- HighCharts - number format with $ in its short form
- Customize tooltip and format the number to 2 decimal places of highcharts
- Highcharts label format with tickPositioner in a datetime x Axis
- Highcharts - Global configuration with common code and unique data & Headings
- Highcharts Solid Gauge with min number NOT zero
- Highcharts - multiple yAxis each with its own tooltip
- Setting highcharts datalabels backgroundColor with the same color of its serie
- Highcharts display full number or any format instead of k
- passing formatting JavaScript code to HighCharts with JSON
- Time format with Highcharts
- Highcharts : set a maximum number of ticks with a fixed interval
- Highcharts polar wind rose chart with segments in trapezoid form
- Highcharts series visibility with csv data source
- Highcharts format labels on grouped stacked bar diagram with $ k, M for currency and 'hrs' for time
- Highcharts tooltip format different with series
- Format number data with comma and unit in Highchart
- How to have multiple highcharts with different series data in vuejs without repeating code
- Format used for date in Highcharts - Line with markers chart type
- how do you create custom buttons with highcharts that each data buttons calls anather php script for its data
- Why code of Horizonal line(y-axis) on a single in Highcharts get applied to all other charts integrated with Webdatarocks
- Highcharts - Format X axis with 2 digit hours in 24 hour format
- Highcharts cloud issue with data source when duplicating chart
- UTC number getting displayed on xAxis with highcharts
- Load HighCharts Chart/Data on Form Submit with jQuery
- Getting numbers on Y-axis to show up as percentages with code from a Highcharts code generator tool?
- highcharts datalabel per point with different format
- Setting highcharts datalabels backgroundColor with the same color of its piechart series
- Marker with number in highcharts
- Highcharts not draw with JSON format
- YQL finance data JSON format for use with highcharts
More Query from same tag
- Can we set a color for timeline bar?
- dynamic spline highchart from database
- Removing highcharts.com credits link
- How to plot horizontal bars / columns / lines on timeseries data with HighStock?
- how to get index of chart in multiple highchart container
- Highcharts plotLines with multiple xAxis and yAxis
- HIghcharts Heatmap Overload with Too Much Data?
- HighCharts X-Axis Date Not Working (00:00)
- highcharts render does not match grid in docraptor rendered pdf
- how to set legend or colors on the charts consistent?
- How to get object value inside an array
- Different color for different data labels
- Highcharts: dateTime in milliseconds is not recognized
- Click event on bar high charts in angular 2
- Change Font dateTimeLabel Highstock
- Adding different y-axis name to all different chart in synchronous chart Highchart
- Handling unix timestamp with highcharts
- Highchart Solid Gauge Responsive
- how to add highcharts in Datatables child row , from google sheets?
- Highcharts Export Server: Polar Chart Ignoring Formatters in Callback
- How to call User Control from one of the Javascript function?
- Highcharts shared tooltip(for line series) - Change on hover ACCORDING TO PLOTBAND
- How to grab correct highchart number in selectors using Selenium Webdriver with Python with several charts on the page?
- Charts,Server Side or Client Side?
- Highcharts - Tooltip width in styled mode
- HighCharts not plotting data coming from model method in rails
- Highchart legend
- Bar chart label alignment for all the zero values
- php to highchart, how to send the right array?
- Configuring Pie chart to use minimum space and never hide labels