All Implemented Interfaces:
Serializable

@Generated(value="This class was generated", comments="Incorrect and missing API should be reported") 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']
        }
 });
 
Version:
$Id: $Id
Author:
Vaadin
See Also:
  • Constructor Details

    • Lang

      public Lang()

      Constructor for Lang.

  • Method Details

    • getContextButtonTitle

      public String getContextButtonTitle()

      Getter for the field contextButtonTitle.

      Returns:
      a String object.
      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

      Parameters:
      contextButtonTitle - a String object.
    • getDecimalPoint

      public String getDecimalPoint()

      Getter for the field decimalPoint.

      Returns:
      a String object.
      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: .

      Parameters:
      decimalPoint - a String object.
    • getDownloadJPEG

      public String getDownloadJPEG()

      Getter for the field downloadJPEG.

      Returns:
      a String object.
      See Also:
    • setDownloadJPEG

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

      Defaults to: Download JPEG image

      Parameters:
      downloadJPEG - a String object.
    • getDownloadPDF

      public String getDownloadPDF()

      Getter for the field downloadPDF.

      Returns:
      a String object.
      See Also:
    • setDownloadPDF

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

      Defaults to: Download PDF document

      Parameters:
      downloadPDF - a String object.
    • getDownloadPNG

      public String getDownloadPNG()

      Getter for the field downloadPNG.

      Returns:
      a String object.
      See Also:
    • setDownloadPNG

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

      Defaults to: Download PNG image

      Parameters:
      downloadPNG - a String object.
    • getDownloadSVG

      public String getDownloadSVG()

      Getter for the field downloadSVG.

      Returns:
      a String object.
      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

      Parameters:
      downloadSVG - a String object.
    • getDrillUpText

      public String getDrillUpText()

      Getter for the field drillUpText.

      Returns:
      a String object.
      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}

      Parameters:
      drillUpText - a String object.
    • getLoading

      public String getLoading()

      Getter for the field loading.

      Returns:
      a String object.
      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...

      Parameters:
      loading - a String object.
    • getMonths

      public String[] getMonths()

      Getter for the field months.

      Returns:
      an array of String objects.
      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"]

      Parameters:
      months - an array of String objects.
    • getNumericSymbols

      public String[] getNumericSymbols()

      Getter for the field numericSymbols.

      Returns:
      an array of String objects.
      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"]

      Parameters:
      numericSymbols - an array of String objects.
    • getPrintChart

      public String getPrintChart()

      Getter for the field printChart.

      Returns:
      a String object.
      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

      Parameters:
      printChart - a String object.
    • getResetZoom

      public String getResetZoom()

      Getter for the field resetZoom.

      Returns:
      a String object.
      See Also:
    • setResetZoom

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

      Defaults to: Reset zoom

      Parameters:
      resetZoom - a String object.
    • getResetZoomTitle

      public String getResetZoomTitle()

      Getter for the field resetZoomTitle.

      Returns:
      a String object.
      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

      Parameters:
      resetZoomTitle - a String object.
    • getShortMonths

      public String[] getShortMonths()

      Getter for the field shortMonths.

      Returns:
      an array of String objects.
      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"]

      Parameters:
      shortMonths - an array of String objects.
    • getShortWeekdays

      public String[] getShortWeekdays()

      Getter for the field shortWeekdays.

      Returns:
      an array of String objects.
      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.
      Parameters:
      shortWeekdays - an array of String objects.
    • getThousandsSep

      public String getThousandsSep()

      Getter for the field thousandsSep.

      Returns:
      a String object.
      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.

      Defaults to:

      Parameters:
      thousandsSep - a String object.
    • getWeekdays

      public String[] getWeekdays()

      Getter for the field weekdays.

      Returns:
      an array of String objects.
      See Also:
    • setWeekdays

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

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

      Parameters:
      weekdays - an array of String objects.
    • getZoomIn

      public ZoomIn getZoomIn()

      Getter for the field zoomIn.

      Returns:
      a ZoomIn object.
      See Also:
    • setZoomIn

      public void setZoomIn(ZoomIn zoomIn)
      The title appearing on hovering the zoom in button. The text itself defaults to "+" and can be changed in the button options.

      Defaults to: Zoom in

      Parameters:
      zoomIn - a ZoomIn object.
    • getZoomOut

      public ZoomOut getZoomOut()

      Getter for the field zoomOut.

      Returns:
      a ZoomOut object.
      See Also:
    • setZoomOut

      public void setZoomOut(ZoomOut zoomOut)
      The title appearing on hovering the zoom out button. The text itself defaults to "-" and can be changed in the button options.

      Defaults to: Zoom out

      Parameters:
      zoomOut - a ZoomOut object.