Get the App
SLTechnology News&Howtos  ›  Database  › 

The chart part sets the rotation display of the X axis

Shulou Source: shulou.com Published: 2022-06-01 18:40:53 10月26日 Update

In the actual project development, it may be encountered that the X-axis node value of the chart part is too long, which causes the chart node value to overlap and not to distinguish the node value.

As shown in the picture

Therefore, the metric rapid development platform encapsulates the following methods:

Chart X axis value rotation display method: XLableAngle

Action

Sets the rotation angle of the X-axis label (except pie and funnel charts).

Set valu

Int type, rotation angle (- 360360 to 360mm).

Example

Chart parts. XLableAngle=-45

Effect:

Just add: chart part after the data refresh code. XLableAngle=-45 is fine.

[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

Please indicate the source of the reprint

Written by: measurement Technology http://www.delit.cn

Tags: Diagrams components nodes angles methods development between code action provenance original text just address actual platform development platform effects data tags funnel Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Shulou Technology Huawei Docker Xiaomi