All Implemented Interfaces:
Serializable

public class Lang extends AbstractConfigurationObject
Language object. The language object is global and it can't be set on each chart initiation. Instead, use 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 Details

    • Lang

      public Lang()
  • Method Details

    • getContextButtonTitle

      public String getContextButtonTitle()
      See Also:
    • setContextButtonTitle

      public void setContextButtonTitle(String contextButtonTitle)
      Exporting module menu. The tooltip title for the context menu holding print and export menu items.

      Defaults to: Chart context menu

    • getDecimalPoint

      public String getDecimalPoint()
      See Also:
    • setDecimalPoint

      public void setDecimalPoint(String decimalPoint)
      The default decimal point used in the Highcharts.numberFormat method unless otherwise specified in the function arguments.

      Defaults to: .

    • getDownloadJPEG

      public String getDownloadJPEG()
      See Also:
    • setDownloadJPEG

      public void setDownloadJPEG(String downloadJPEG)
      Exporting module only. The text for the JPEG download menu item.

      Defaults to: Download JPEG image

    • getDownloadPDF

      public String getDownloadPDF()
      See Also:
    • setDownloadPDF

      public void setDownloadPDF(String downloadPDF)
      Exporting module only. The text for the PDF download menu item.

      Defaults to: Download PDF document

    • getDownloadPNG

      public String getDownloadPNG()
      See Also:
    • setDownloadPNG

      public void setDownloadPNG(String downloadPNG)
      Exporting module only. The text for the PNG download menu item.

      Defaults to: Download PNG image

    • getDownloadSVG

      public String getDownloadSVG()
      See Also:
    • setDownloadSVG

      public void setDownloadSVG(String downloadSVG)
      Exporting module only. The text for the SVG download menu item.

      Defaults to: Download SVG vector image

    • getDrillUpText

      public String getDrillUpText()
      See Also:
    • setDrillUpText

      public void setDrillUpText(String drillUpText)
      The text for the button that appears when drilling down, linking back to the parent series. The parent series' name is inserted for {series.name}.

      Defaults to: Back to {series.name}

    • getInvalidDate

      public String getInvalidDate()
      See Also:
    • setInvalidDate

      public void setInvalidDate(String invalidDate)
      What to show in a date field for invalid dates. Defaults to an empty string.
    • getLoading

      public String getLoading()
      See Also:
    • setLoading

      public void setLoading(String loading)
      The loading text that appears when the chart is set into the loading state following a call to chart.showLoading.

      Defaults to: Loading...

    • getMonths

      public String[] getMonths()
      See Also:
    • setMonths

      public void setMonths(String[] months)
      An array containing the months names. Corresponds to the %B format in Highcharts.dateFormat().

      Defaults to: [ "January" , "February" , "March" , "April" , "May" , "June" , "July" , "August" , "September" , "October" , "November" , "December"]

    • getNoData

      public String getNoData()
      See Also:
    • setNoData

      public void setNoData(String noData)
      The text to display when the chart contains no data. Requires the no-data module, see noData.

      Defaults to: No data to display

    • getNumericSymbolMagnitude

      public Number getNumericSymbolMagnitude()
      See Also:
    • setNumericSymbolMagnitude

      public void setNumericSymbolMagnitude(Number numericSymbolMagnitude)
      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

      public String[] getNumericSymbols()
      See Also:
    • setNumericSymbols

      public void setNumericSymbols(String[] numericSymbols)
      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

      public String getPrintChart()
      See Also:
    • setPrintChart

      public void setPrintChart(String printChart)
      Exporting module only. The text for the menu item to print the chart.

      Defaults to: Print chart

    • getResetZoom

      public String getResetZoom()
      See Also:
    • setResetZoom

      public void setResetZoom(String resetZoom)
      The text for the label appearing when a chart is zoomed.

      Defaults to: Reset zoom

    • getResetZoomTitle

      public String getResetZoomTitle()
      See Also:
    • setResetZoomTitle

      public void setResetZoomTitle(String resetZoomTitle)
      The tooltip title for the label appearing when a chart is zoomed.

      Defaults to: Reset zoom level 1:1

    • getShortMonths

      public String[] getShortMonths()
      See Also:
    • setShortMonths

      public void setShortMonths(String[] shortMonths)
      An array containing the months names in abbreviated form. Corresponds to the %b format in Highcharts.dateFormat().

      Defaults to: [ "Jan" , "Feb" , "Mar" , "Apr" , "May" , "Jun" , "Jul" , "Aug" , "Sep" , "Oct" , "Nov" , "Dec"]

    • getShortWeekdays

      public String[] getShortWeekdays()
      See Also:
    • setShortWeekdays

      public void setShortWeekdays(String[] shortWeekdays)
      Short week days, starting Sunday. If not specified, Highcharts uses the first three letters of the lang.weekdays option.
    • getThousandsSep

      public String getThousandsSep()
      See Also:
    • setThousandsSep

      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:

    • getWeekdays

      public String[] getWeekdays()
      See Also:
    • setWeekdays

      public void setWeekdays(String[] weekdays)
      An array containing the weekday names.

      Defaults to: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]

    • getRangeSelectorFrom

      public String getRangeSelectorFrom()
      See Also:
    • setRangeSelectorFrom

      public void setRangeSelectorFrom(String rangeSelectorFrom)
      The text for the label for the "from" input box in the range selector.

      Defaults to: From

    • getRangeSelectorTo

      public String getRangeSelectorTo()
      See Also:
    • setRangeSelectorTo

      public void setRangeSelectorTo(String rangeSelectorTo)
      The text for the label for the "to" input box in the range selector.

      Defaults to: To

    • getRangeSelectorZoom

      public String getRangeSelectorZoom()
      See Also:
    • setRangeSelectorZoom

      public void setRangeSelectorZoom(String rangeSelectorZoom)
      The text for the label for the range selector buttons.

      Defaults to: Zoom