Set a language object. The default language is English.

Method used

Parameters:

  • mixed $name: the option name for the language. Can be a string or array. When used as array a key value pair should be defined, where the key is the name
  • mixed $mixvalue: a value in case the name is a string


Example:

... $chart = new jqChart(); ->setLanguage(array( "weekdays"=> array('Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi') )) ; ...


Option name Type Default
decimalPoint String "."
The default decimal point used in the Highcharts.numberFormat method unless otherwise specified in the function arguments.
downloadPNG String "Download PNG image"
Exporting module only. The text for the PNG download menu item.
downloadJPEG String "Download JPEG image"
Exporting module only. The text for the JPEG download menu item.
downloadPDF String "Download PDF document"
Exporting module only. The text for the PDF download menu item.
downloadSVG String "Download SVG vector image"
Exporting module only. The text for the SVG download menu item.
exportButtonTitle String "Export to raster or vector image"
Exporting module only. The tooltip text for the export button.
loading String Loading...
The loading text that appears when the chart is set into the loading state following a call to chart.showLoading.
months Array See description
An array containing the months names. Defaults to
array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December').
printButtonTitle String "Print the chart"
Exporting module only. The tooltip text for the print button.
resetZoom String Reset Zoom
The text for the label appearing when a chart is zoomed.
resetZoomTitle String Reset zoom level
The tooltip title for the label appearing when a chart is zoomed.
thousandsSep String ","
The default thousands separator used in the Highcharts.numberFormat method unless otherwise specified in the function arguments.
weekdays Array see Description
An array containing the weekday names. Defaults to
array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday')