We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to rotate data labels in the ejChart?

Essential Chart supports rotating data labels by using the angle property of the Data Label. Data label rotation can be performed for all the series in the Chart by using the commonSeriesOptions or for a specific series in the series collection.

The following code example illustrates the use of commonSeriesOptions to rotate Data Labels of all the series in the Chart.

JS

 

The following screenshot displays the chart with rotated data labels.

Figure 1: Chart with rotated data labels

JS Playground sample link: Data label rotation using CommonSeriesOptions

The following code example illustrates rotating data labels of individual series in the series collection.

JS

 

The following screenshot displays the Chart with data labels only for the first series (Gold).

 

Figure 2: Chart with data labels only for the first series

 

Article ID: Published Date: Last Revised Date: Platform: Control:
5208 07/13/2015 08/05/2016 JavaScript ejChart
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon