"Highcharts series" Nine, language attributes--lang

Source: Internet
Author: User

One, lang attribute description

The Lang property is primarily used to configure language-related properties such as displayed text.

The main configuration is as follows: decimal symbol , export related text , month text , week text , etc.

The lang attribute is not important, no special case, no configuration.

Second, the lang attribute detailed

Parameters Description Default Value
Decimalpoint Decimal symbol .

Downloadpng
Downloadjpeg
Downloadpdf
Downloadsvg

Text related to chart download Download PNG Image
Download JPEG Image
Download PDF Document
Download SVG Vector image
Exportbuttontitle Download button title text Export to raster or vector image
Loading Loading Chinese text Loading ...
Months Month text

[' January ', ' February ', ' March ', ' April ', ' may ', ' June ', ' July ',

' August ', ' September ', ' October ', ' November ', ' December ']

Printbuttontitle Print button text Print the chart
Resetzoom Resize text, main user drag mouse to enlarge Reset Zoom
Resetzoomtitle Reset Size Title Text Reset Zoom Level 1:1
Reset Zoom Level 1:1 Thousands of separators, like 1000,000. ,
Weekdays Week text

[' Sunday ', ' Monday ', ' Tuesday ', ' Wednesday ',

' Thursday ', ' Friday ', ' Saturday ']

Iii. Description of the case

            <meta Http-equiv="Content-type" Content="Text/html; Charset=utf-8 "> <script Type="Text/javascript" Src="Js/jquery.min.js"></script> <script Type="Text/javascript">$(function () { VarChart;$(Document).Ready(function() {Chart= New Highcharts.Chart({Chart: {Renderto: ' Container ',Type: ' Area ', },Credits: {Enabled:FalseDo not display highcharts copyright information },Lang:{Decimalpoint:‘.‘,Downloadpng:' Download PNG images ',Downloadjpeg:' Download jpg images ',Downloadpdf:' Download PDF file ',Exportbuttontitle:' Export ... ',Loading:' Load in ... ',Months:[' January ',' February ',' March ',' April ',' May ',' June ',' July ',' August ',' September ',' October ',' November ',' December '],Printbuttontitle:' Print chart ',Resetzoom:' Restore chart ',Resetzoomtitle:' Restore chart to 1:1 size ',Thousandssep:‘,‘,Weekdays:[' Sun ', ' Mon ', ' Tues ', ' Wednes ', ' Thurs ', ' Fri ', ' Satur '] },Xaxis: {Type:' DateTime ',Categories: [' Sunday ', ' Monday ', ' Tuesday ', ' Wednesday ', ' Thursday ', ' Friday ', ' Saturday '] },Series: [{Name: ' Series1 ',Data: [2,4,5,9,2,7] },{Name:' Series2 ',Data:[3,5,7,2,1,4] }] }); }); }); </script>  <body> <script Src="Js/highcharts.js"></script> <script Src="Js/exporting.js"></script> <div id="container" style="min-width:  400px; height: 400px; margin: 0 auto">< /div> </body>           
Four, the effect

Online Demo demo Address: http://www.52wulian.org/test/HighCharts/highcharts_2_7_lang.html vi. Resources Download This example source code: http://pan.baidu.com/ share/link?shareid=262884&uk=3087605183

"Highcharts series" Nine, language attributes--lang

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.