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

X Value Position

Hi,

How to set X values (Name or Month Or Place etc..) in Vertical position in chart control

1 Reply

SK Saravana Kumar Kanagavel Syncfusion Team June 27, 2016 10:16 AM UTC

Hi Satheyaraaj, 
 
Thanks for contacting Syncfusion Support. 
We have analyzed your query and created a sample based on your requirement. You can customize the x-axis values by using “ValueType” property in primary x-axis.  
By specifying the “ValueType” as Category, you can give string as x-axis value and as by specifying value as “DateTime” you can provide the month or date values. And if you want to do this in vertical axes, you can use the “IsTransposed” property in series which is used to change the position of x axis as vertical and the y-axis position as horizontal.  
 
Please refer the below code snippet 
 
[ASPX] 
<ej:Chart ClientIDMode="Static" ID="Chart1" runat="server" > 
    <Series> 
      <ej:Series IsTransposed="true" Type="Column"></ej:Series> 
    </Series> 
</ej:Chart> 
 
Please follow the below link to know more details about axis value types. 
 
 
And you can find the sample from the below location. 
 
  
Please find the output of the transposed column chart sample below 
 
 
 
Please let us know if you have any concern. 
 
Regards, 
Saravana Kumar K. 


Loader.
Live Chat Icon For mobile
Up arrow icon