Chart part set rotation display for x-axis

Source: Internet
Author: User

In the actual project development, you may encounter the chart part X axis node value is too long, cause the chart node value display overlap, the node value is not clear.

650) this.width=650; "id=" aimg_ivo7j "class=" Zoom "width=" + "height=" 238 "border=" 0 "src=" http://bbs.delit.cn/data/ Attachment/forum/201607/01/180211x0zplkk9lz92kg3m.jpg.thumb.jpg "/>


So the metric rapid development platform encapsulates the following methods:


chart x Axis value rotation Display method:Xlableangle


function 
sets the rotation angle of the x-axis label, except for pie and funnel charts.
Setting the value
int type, rotation angle (-360 to 360).
Example
The chart part. Xlableangle=-45

Effect:

650) this.width=650; "id=" aimg_1824 "src=" http://bbs.delit.cn/data/attachment/forum/201607/05/ 163442a6mak3g2h6cpyd2z.jpg.thumb.jpg "alt=" 163442a6mak3g2h6cpyd2z.jpg.thumb.jpg "/>


Simply add: The chart part after the data refresh code . Xlableangle=-45 can be.

[SIZE=13.3333PX] Note:-45 is the rotation angle value, ranging from 360 to 360.


Original address: http://bbs.delit.cn/thread-1123-1-1.html

Reprint please indicate the source;

Author: metric Technology http://www.delit.cn

Chart part set rotation display for x-axis

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.