Transpose x and y axis for line chart and step chart

Can the x and y axes be transposed using the Angular or JavaScript chart in the latest version as it was in earlier versions by using .Chart().Series.IsTransposed(true)?

Looking over the API reference for version 16.2.0.41, I can not find this property.


2 Replies

DK Dennis Kroger June 27, 2018 06:19 PM UTC

Never mind, I found it in the ej2-docs.pdf.



BP Baby Palanidurai Syncfusion Team June 28, 2018 05:04 AM UTC

Hi Dennis, 
  
Thanks for your update, 
  
As per your requirement, we have prepared a sample with x and y axis transposed. Please find the below code snippet for this requirement, 

 
<ejs-chart id="chart-container"  isTransposed='true'>
    </ejs-chart>


 

 
Please find the below sample and UG link, 
  
  
  
Please let us know if you have any further assistance. 
  
Thanks, 
Baby. 


Loader.
Up arrow icon