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. Image for the cookie policy date

Vertical datalabel for series and overlapped datalabel

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

1 Reply

BP Baby Palanidurai Syncfusion Team 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. 


Loader.
Live Chat Icon For mobile
Up arrow icon