"Highcharts Series tutorial" Five, copyright attributes--credits

Source: Internet
Author: User

First, Credits property description

Strictly speaking, credits does not count as copyright information, the official saying is: Highchart by default puts
A credits label in the lower right corner of the chart.

Anyway, in their own charts with highcharts words and links, which are beautiful and professional graphics are not good. By configuring the Credits property, you can remove or modify highcharts copyright information.

Second, credits attribute detailed

Parameters Description Default Value
Enable Whether to display copyright information True, which is also shown by default
Href Link Address Http://www.highcharts.com
Position Location of copyright text Position: {
Align: ' Right ', x:-10,
VerticalAlign: ' Bottom ', y:-5
}
Style Style of copyright text ItemStyle: {
Cursor: ' pointer ', color: ' #909090 ′,fontsize: ' 10px '
}
Text Copyright text Highcharts.com

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 property configuration in HighchartsChart: {Renderto: ' Highcharts_2_3 ',div tagsType: ' Column ',Chart type },Credits: { Enable:true, the default is true, you can not configure If you want to remove the copyright (that is, do not display), you only need to set Enable:falseHref:' Http://www.52wulian.org ',Link AddressPosition: { The position of the textX:-30,Y:-30 },Style:{ Style of textColor:' Red ',FontWeight:' Bold ' },Text:' I love the internet of Things ' Text },Xaxis: {Categories: [' 1 ',' 2 ',' 3 ',' 4 ',' 5 '] },Series: [{Name: ' Series1 ',Data: [2,4,5,9,2] }] }); }); }); </script>  <body> <script Src="Js/highcharts.js"></script> <script Src="Js/exporting.js"></script> <div id="Highcharts_2_3" style="min-width:  400px; height: 400px; margin: 0 auto">< /div> </body>           
Four, the effect

Five, online demo demo address: http://www.52wulian.org/test/HighCharts/highcharts_2_3_credits.html Six, source code download: http://pan.baidu.com/ share/link?shareid=208619&uk=3087605183

"Highcharts Series tutorial" Five, copyright attributes--credits

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.