Lang language type and parsing of some data formats
1. decimalpoint
The default decimal point used in the highcharts. numberformat method, unless otherwise specified by the function parameters.
String type
The default value is "."
2. downloadjpeg
The tag name displayed when you click the Download button,
String type
The default value is "Download JPEG image"
3. downloadpdf
The tag name displayed when you click the Download button,
String type
The default value is "Download PDF document"
4. downloadpng
The tag name displayed when you click the Download button,
String type
The default value is "Download PNG Image"
5. downloadsvg
The tag name displayed when you click the Download button,
String type
The default value is "Download SVG vector image"
6. exportbuttontitle
Text displayed when the mouse goes through the Download button
String type
The default value is "export to raster or vectorimage"
7. Loading
Chinese name displayed during chart Loading
String type
The default value is "loading ..."
8. Months:
Array of the names of the included months. The format of highcharts. dateformat () is % B.
Array <string> type
Instance 1:
months:['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin','Juillet', 'Ao?t','Septembre', 'Octobre', 'Novembre', 'Décembre']
9. numericsymbols
The prefix of the metric to shorten the label of the high axis. If no position is changed, the full number will be written. Setting numbericsymbols to null indicates disabling.
Array <string> type
The metric table is as follows:
Instance 1:
Highcharts. setoptions ({LANG: {decimalpoint: ",", downloadjpeg: "Download JPEG image", exportbuttontitle: "Download image", printbuttontitle: "print Report", numericsymbols: ['thousands', 'millions'], months: ['janvier', 'février ', 'Mars', 'avril', 'mai', 'juin ', 'juillet', 'ao? T', 'septembre', 'octobre', 'novembre', 'D' écembre '], weekdays: ['dimanch', 'lundi', 'Mardi ', 'mercreddi ', 'jeudi', 'vendredi ', 'samedi']}); var chart = new highcharts. chart ({chart: {renderto: 'Container', width: 500, height: 400, borderwidth: 1, defaserseriestype: 'column'}, xaxis: {categories: ['Jan ', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep ', 'oct', 'nov', 'dec ']}, yaxis: {type: 'logarithmic'}, Series: [{data: [0.029, 71.5, 1.06, 1292,14400, 1.760, 135,148, 0.0216, 0.194, 9.56, 54.4]});
The running result is as follows:
10. printbuttontitle
Text displayed when the mouse passes the print button
String type
The default value is "print the chart"
11. resetzoom
When the resetzoom button appears in the method chart area, the text displayed by the button must be used with zoomtype in the chart parameter.
String type
The default value is "Reset zoom"
Instance 1:
Highcharts. setoptions ({LANG: {resetzoom: 'restore'}); var chart = newhighcharts. chart ({chart: {renderto: 'Container', width: 500, height: 400, borderwidth: 1, zoomtype: "XY", defaserseriestype: 'column'}, xaxis: {categories: ['Jan ', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep ', 'oct', 'nov', 'dec ']}, yaxis: {type: 'logarithmic'}, Series: [{data: [0.029, 71.5, 1.06, 1292,14400, 1.760, 135,148, 0.0216, 0.194, 9.56, 54.4]});
Run the following command:
12. resetzoomtitle
When you move the mouse over the resetzoom button, the displayed text must be used with zoomtype in the chart parameter.
String type
The default value is "Reset zoom level"
13. Months
The abbreviation of the month in the array containing the month name. The format of highcharts. dateformat () is % B.
Array <string> type
Instance 1:
Months: ['August 11', 'August 11', 'August 11', 'August 11', 'August 11', 'August 11', 'August 30', 'August 30 ', 'octoken', 'octoken', 'octoken']
14. thousandssep
Data format in kilobytes
String type
The default value is ","
15. Weekdays
The Week in the array containing the week name.
Array <string> type
The default value is ['sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'Friday', 'saturday'].