Use of the title parameter of the highcharts report plug-in

Source: Internet
Author: User

Title configuration item

Use of Master title style configuration items

 

1. Align: horizontal alignment of the title. Options of the string type are left, center, and right. Default Value: Center"

2. Floating: whether to float. If it is true, the title may deviate from the main chart area. It has the same effect as the float in the CSS style and can be used with the X and Y attributes. It is of the boolean type, default Value: false.

Example 1:

Title: {Align: "center", text: 'report test', floating: True, X: 100, Y: 200}

Run as shown in:


Example 2:

Title: {Align: "center", text: 'report test', floating: false, X: 100, Y: 200}

Run as shown in:


 

3. Margin: the gap between the title and Subtitle or the main chart range. The default number is 15.

 

4. Text: Title text content, string type, default: Char ttitle

 

5. Style: sets the CSS style. The default cssobject type is {color: '# 3e576f', fontsize: '16px '}

 

6. verticalalign: vertical align of the string type. It can be top or bottom. The default value is top.

 

7. X: the horizontal distance of the title

 

8. Y: the vertical distance of the title

 

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.