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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback
Essential JS2

Syncfusion jQuery based widgets are no longer in active development. Switch to our pure JavaScript based next generation Essential JS 2 library.

Vertical datalabel for series and overlapped datalabel

Thread ID:

Created:

Updated:

Platform:

Replies:

145452 Jun 22,2019 01:20 PM UTC Jun 24,2019 08:40 AM UTC jQuery 1
loading
Tags: ejChart
Sutthipong
Asked On June 22, 2019 01:20 PM UTC

Is it possible to display datalabel for series in vertical orientation.

And from screenshot is it possible to make datalabel for series not overlapped.

Attachment: chart_a4686675.zip

Baby Palanidurai [Syncfusion]
Replied On June 24, 2019 08:40 AM UTC

Hi Sutthipong, 
 
Greetings from Syncfusion. 
 
We have analyzed your query with the attached screenshot. By using angle property of the data labels, we can rotate the data label in the vertical orientation. And using enableSmartLabels property value as true in series, we can avoid labels from overlap each other. We have created a simple sample for your reference. Please find below sample and code snippet, 
 
Code Snippet: 
 
commonSeriesOptions: 
             { 
//To avoid overlap labels 
                 enableSmartLabels: true, 
  marker: {  
                visible: true,  
//To rotate the data label 
                   dataLabel: {visible: true, angle: 90} 
              } 
            }, 
 
 
 
 
 
Hope this helps. 
 
Regards, 
Baby. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon