public class Lang extends AbstractConfigurationObject
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'] } });
Constructor and Description |
---|
Lang() |
Modifier and Type | Method and Description |
---|---|
String |
getContextButtonTitle() |
String |
getDecimalPoint() |
String |
getDownloadJPEG() |
String |
getDownloadPDF() |
String |
getDownloadPNG() |
String |
getDownloadSVG() |
String |
getDrillUpText() |
String |
getInvalidDate() |
String |
getLoading() |
String[] |
getMonths() |
String |
getNoData() |
Number |
getNumericSymbolMagnitude() |
String[] |
getNumericSymbols() |
String |
getPrintChart() |
String |
getRangeSelectorFrom() |
String |
getRangeSelectorTo() |
String |
getRangeSelectorZoom() |
String |
getResetZoom() |
String |
getResetZoomTitle() |
String[] |
getShortMonths() |
String[] |
getShortWeekdays() |
String |
getThousandsSep() |
String[] |
getWeekdays() |
void |
setContextButtonTitle(String contextButtonTitle)
Exporting module menu.
|
void |
setDecimalPoint(String decimalPoint)
The default decimal point used in the
Highcharts.numberFormat method unless otherwise specified in
the function arguments. |
void |
setDownloadJPEG(String downloadJPEG)
Exporting module only.
|
void |
setDownloadPDF(String downloadPDF)
Exporting module only.
|
void |
setDownloadPNG(String downloadPNG)
Exporting module only.
|
void |
setDownloadSVG(String downloadSVG)
Exporting module only.
|
void |
setDrillUpText(String drillUpText)
The text for the button that appears when drilling down, linking back to
the parent series.
|
void |
setInvalidDate(String invalidDate)
What to show in a date field for invalid dates.
|
void |
setLoading(String loading)
The loading text that appears when the chart is set into the loading
state following a call to
chart.showLoading . |
void |
setMonths(String[] months)
An array containing the months names.
|
void |
setNoData(String noData)
The text to display when the chart contains no data.
|
void |
setNumericSymbolMagnitude(Number numericSymbolMagnitude)
The magnitude of numericSymbols
replacements.
|
void |
setNumericSymbols(String[] numericSymbols)
Metric prefixes used to shorten high numbers in axis labels.
|
void |
setPrintChart(String printChart)
Exporting module only.
|
void |
setRangeSelectorFrom(String rangeSelectorFrom)
The text for the label for the "from" input box in the range selector.
|
void |
setRangeSelectorTo(String rangeSelectorTo)
The text for the label for the "to" input box in the range selector.
|
void |
setRangeSelectorZoom(String rangeSelectorZoom)
The text for the label for the range selector buttons.
|
void |
setResetZoom(String resetZoom)
The text for the label appearing when a chart is zoomed.
|
void |
setResetZoomTitle(String resetZoomTitle)
The tooltip title for the label appearing when a chart is zoomed.
|
void |
setShortMonths(String[] shortMonths)
An array containing the months names in abbreviated form.
|
void |
setShortWeekdays(String[] shortWeekdays)
Short week days, starting Sunday.
|
void |
setThousandsSep(String thousandsSep)
The default thousands separator used in the
Highcharts.numberFormat method unless otherwise specified in
the function arguments. |
void |
setWeekdays(String[] weekdays)
An array containing the weekday names.
|
public String getContextButtonTitle()
setContextButtonTitle(String)
public void setContextButtonTitle(String contextButtonTitle)
Defaults to: Chart context menu
public String getDecimalPoint()
setDecimalPoint(String)
public void setDecimalPoint(String decimalPoint)
Highcharts.numberFormat
method unless otherwise specified in
the function arguments.
Defaults to: .
public String getDownloadJPEG()
setDownloadJPEG(String)
public void setDownloadJPEG(String downloadJPEG)
Defaults to: Download JPEG image
public String getDownloadPDF()
setDownloadPDF(String)
public void setDownloadPDF(String downloadPDF)
Defaults to: Download PDF document
public String getDownloadPNG()
setDownloadPNG(String)
public void setDownloadPNG(String downloadPNG)
Defaults to: Download PNG image
public String getDownloadSVG()
setDownloadSVG(String)
public void setDownloadSVG(String downloadSVG)
Defaults to: Download SVG vector image
public String getDrillUpText()
setDrillUpText(String)
public void setDrillUpText(String drillUpText)
{series.name}
.
Defaults to: Back to {series.name}
public String getInvalidDate()
setInvalidDate(String)
public void setInvalidDate(String invalidDate)
public String getLoading()
setLoading(String)
public void setLoading(String loading)
chart.showLoading
.
Defaults to: Loading...
public String[] getMonths()
setMonths(String[])
public void setMonths(String[] months)
%B
format in Highcharts.dateFormat()
.
Defaults to: [ "January" , "February" , "March" , "April" , "May" , "June" , "July" , "August" , "September" , "October" , "November" , "December"]
public String getNoData()
setNoData(String)
public void setNoData(String noData)
Defaults to: No data to display
public Number getNumericSymbolMagnitude()
setNumericSymbolMagnitude(Number)
public void setNumericSymbolMagnitude(Number numericSymbolMagnitude)
Defaults to: 1000
public String[] getNumericSymbols()
setNumericSymbols(String[])
public void setNumericSymbols(String[] numericSymbols)
Defaults to: [ "k" , "M" , "G" , "T" , "P" , "E"]
public String getPrintChart()
setPrintChart(String)
public void setPrintChart(String printChart)
Defaults to: Print chart
public String getResetZoom()
setResetZoom(String)
public void setResetZoom(String resetZoom)
Defaults to: Reset zoom
public String getResetZoomTitle()
setResetZoomTitle(String)
public void setResetZoomTitle(String resetZoomTitle)
Defaults to: Reset zoom level 1:1
public String[] getShortMonths()
setShortMonths(String[])
public void setShortMonths(String[] shortMonths)
%b
format in Highcharts.dateFormat()
.
Defaults to: [ "Jan" , "Feb" , "Mar" , "Apr" , "May" , "Jun" , "Jul" , "Aug" , "Sep" , "Oct" , "Nov" , "Dec"]
public String[] getShortWeekdays()
setShortWeekdays(String[])
public void setShortWeekdays(String[] shortWeekdays)
lang.weekdays
option.public String getThousandsSep()
setThousandsSep(String)
public void setThousandsSep(String thousandsSep)
The default thousands separator used in the
Highcharts.numberFormat
method 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:
public String[] getWeekdays()
setWeekdays(String[])
public void setWeekdays(String[] weekdays)
Defaults to: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
public String getRangeSelectorFrom()
setRangeSelectorFrom(String)
public void setRangeSelectorFrom(String rangeSelectorFrom)
Defaults to: From
public String getRangeSelectorTo()
setRangeSelectorTo(String)
public void setRangeSelectorTo(String rangeSelectorTo)
Defaults to: To
public String getRangeSelectorZoom()
setRangeSelectorZoom(String)
public void setRangeSelectorZoom(String rangeSelectorZoom)
Defaults to: Zoom
Copyright © 2023. All rights reserved.