Class Lang
- All Implemented Interfaces:
Serializable
Highcharts.setOptions to set it
before any chart is initiated.
Highcharts.setOptions({
lang: {
months: ['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'],
weekdays: ['Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi']
}
});
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]String[]String[]String[]String[]voidsetContextButtonTitle(String contextButtonTitle) Exporting module menu.voidsetDecimalPoint(String decimalPoint) The default decimal point used in theHighcharts.numberFormatmethod unless otherwise specified in the function arguments.voidsetDownloadJPEG(String downloadJPEG) Exporting module only.voidsetDownloadPDF(String downloadPDF) Exporting module only.voidsetDownloadPNG(String downloadPNG) Exporting module only.voidsetDownloadSVG(String downloadSVG) Exporting module only.voidsetInvalidDate(String invalidDate) What to show in a date field for invalid dates.voidsetLoading(String loading) The loading text that appears when the chart is set into the loading state following a call tochart.showLoading.voidAn array containing the months names.voidThe text to display when the chart contains no data.voidsetNumericSymbolMagnitude(Number numericSymbolMagnitude) The magnitude of numericSymbols replacements.voidsetNumericSymbols(String[] numericSymbols) Metric prefixes used to shorten high numbers in axis labels.voidsetPrintChart(String printChart) Exporting module only.voidsetRangeSelectorFrom(String rangeSelectorFrom) The text for the label for the "from" input box in the range selector.voidsetRangeSelectorTo(String rangeSelectorTo) The text for the label for the "to" input box in the range selector.voidsetRangeSelectorZoom(String rangeSelectorZoom) The text for the label for the range selector buttons.voidsetResetZoom(String resetZoom) The text for the label appearing when a chart is zoomed.voidsetResetZoomTitle(String resetZoomTitle) The tooltip title for the label appearing when a chart is zoomed.voidsetShortMonths(String[] shortMonths) An array containing the months names in abbreviated form.voidsetShortWeekdays(String[] shortWeekdays) Short week days, starting Sunday.voidsetThousandsSep(String thousandsSep) The default thousands separator used in theHighcharts.numberFormatmethod unless otherwise specified in the function arguments.voidsetWeekdays(String[] weekdays) An array containing the weekday names.
-
Constructor Details
-
Lang
public Lang()
-
-
Method Details
-
getContextButtonTitle
- See Also:
-
setContextButtonTitle
Exporting module menu. The tooltip title for the context menu holding print and export menu items.Defaults to: Chart context menu
-
getDecimalPoint
- See Also:
-
setDecimalPoint
The default decimal point used in theHighcharts.numberFormatmethod unless otherwise specified in the function arguments.Defaults to: .
-
getDownloadJPEG
- See Also:
-
setDownloadJPEG
Exporting module only. The text for the JPEG download menu item.Defaults to: Download JPEG image
-
getDownloadPDF
- See Also:
-
setDownloadPDF
Exporting module only. The text for the PDF download menu item.Defaults to: Download PDF document
-
getDownloadPNG
- See Also:
-
setDownloadPNG
Exporting module only. The text for the PNG download menu item.Defaults to: Download PNG image
-
getDownloadSVG
- See Also:
-
setDownloadSVG
Exporting module only. The text for the SVG download menu item.Defaults to: Download SVG vector image
-
getInvalidDate
- See Also:
-
setInvalidDate
What to show in a date field for invalid dates. Defaults to an empty string. -
getLoading
- See Also:
-
setLoading
The loading text that appears when the chart is set into the loading state following a call tochart.showLoading.Defaults to: Loading...
-
getMonths
- See Also:
-
setMonths
An array containing the months names. Corresponds to the%Bformat inHighcharts.dateFormat().Defaults to: [ "January" , "February" , "March" , "April" , "May" , "June" , "July" , "August" , "September" , "October" , "November" , "December"]
-
getNoData
- See Also:
-
setNoData
The text to display when the chart contains no data. Requires the no-data module, see noData.Defaults to: No data to display
-
getNumericSymbolMagnitude
- See Also:
-
setNumericSymbolMagnitude
The magnitude of numericSymbols replacements. Use 10000 for Japanese, Korean and various Chinese locales, which use symbols for 10^4, 10^8 and 10^12.Defaults to: 1000
-
getNumericSymbols
- See Also:
-
setNumericSymbols
Metric prefixes used to shorten high numbers in axis labels. Setting numericSymbols to null sets default values. Setting numericSymbols to an empty array disables shortening - shows initial numbers.Defaults to: [ "k" , "M" , "G" , "T" , "P" , "E"]
-
getPrintChart
- See Also:
-
setPrintChart
Exporting module only. The text for the menu item to print the chart.Defaults to: Print chart
-
getResetZoom
- See Also:
-
setResetZoom
The text for the label appearing when a chart is zoomed.Defaults to: Reset zoom
-
getResetZoomTitle
- See Also:
-
setResetZoomTitle
The tooltip title for the label appearing when a chart is zoomed.Defaults to: Reset zoom level 1:1
-
getShortMonths
- See Also:
-
setShortMonths
An array containing the months names in abbreviated form. Corresponds to the%bformat inHighcharts.dateFormat().Defaults to: [ "Jan" , "Feb" , "Mar" , "Apr" , "May" , "Jun" , "Jul" , "Aug" , "Sep" , "Oct" , "Nov" , "Dec"]
-
getShortWeekdays
- See Also:
-
setShortWeekdays
Short week days, starting Sunday. If not specified, Highcharts uses the first three letters of thelang.weekdaysoption. -
getThousandsSep
- See Also:
-
setThousandsSep
The default thousands separator used in the
Highcharts.numberFormatmethod unless otherwise specified in the function arguments. Since Highcharts 4.1 it defaults to a single space character, which is compatible with ISO and works across Anglo-American and continental European languages.The default is a single space.
Defaults to:
-
getWeekdays
- See Also:
-
setWeekdays
An array containing the weekday names.Defaults to: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
-
getRangeSelectorFrom
- See Also:
-
setRangeSelectorFrom
The text for the label for the "from" input box in the range selector.Defaults to: From
-
getRangeSelectorTo
- See Also:
-
setRangeSelectorTo
The text for the label for the "to" input box in the range selector.Defaults to: To
-
getRangeSelectorZoom
- See Also:
-
setRangeSelectorZoom
The text for the label for the range selector buttons.Defaults to: Zoom
-