Query #2: How can Igetthetext valueofthebaroutsideorinsidethebardepending onthelengthofthebar and the text?. Ifcan't,how to getthetextout of the bar?
If your intention is to display text without getting cut, we suggest you to set "TextOrientation" property of series style to "Smart".
Please refer the following code snippet to achieve this. <code> [CS] //Displaying series text series.Style.DisplayText = true; series.Style.Font.Orientation = 270; series.Style.TextOrientation = ChartTextOrientation.Smart; </code>
For your convenience, we have created a simple sample based on your requirements and it can be downloaded from the following link. TextOrientationMvc.zip
Please let us know if you have any concern.
JSJesus Sanchez March 6, 2014 04:31 PM UTC
ATAnandaraj T Syncfusion Team March 19, 2014 05:23 AM UTC
Hi Jesus Sanchez,
Thanks for the update. Please let us know if you have any other queries.