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

Line Break on X-Axis Label & Coordinate of Column

Hi there,

First and foremost, I would like to ask if it is possible to make a line break on the X-Axis Label?  

Also, can we get the coordinate of each column in the Column Series? 

Thanks,
Ken Wong 

9 Replies

YP Yuvaraj Palanisamy Syncfusion Team June 25, 2015 12:23 PM UTC

Hi Ken,

Thanks for contacting Syncfusion support.

We have created a support incident under your account to track the status of this query. Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents  

Please let me know if you have any questions.

Thanks,
Yuvaraj


KW Ken Wong June 25, 2015 03:39 PM UTC

Hi Yuvaraj,

Thanks for informing. Also, I have one more question to ask.

Is it possible to get and set the width for each column ? 

Thanks in Advanced.

Regards,
Ken Wong


KW Ken Wong June 26, 2015 06:16 AM UTC

Hi Yuravaj,  

I think I have figured out the way of getting the width alternatively. I just use the chart width divides the number of columns. 

There is one last question I would like to ask. How do we disable the On Touch selection event? For example, now I'm doing the selection via scrolling but I don't want users to touch the columns in order to select. Is there a way of disabling the on touch selection? 

Thanks and sorry for the trouble.

Regards,
Ken Wong


MK Magesh Kumar Krishnan Syncfusion Team June 26, 2015 01:34 PM UTC

Hi Ken,

We can disable the selection by set the Cancel property as true in SelectionChanging event of Chart, please use the following code snippet to disable the selection,

Code Snippet [C#]:

chart.SelectionChanging += chart_SelectionChanging;
.....
.....
void chart_SelectionChanging(object sender, ChartSelectionChangingEventArgs e)
{
e.Cancel = true;
}

Please let us know if your further assistance.

Thanks,
Magesh Kumar K


KW Ken Wong July 2, 2015 02:17 AM UTC

Hi Magesh,

The given solution is working well to prevent users from selecting different columns, but they can still deselect the column. 

Is it possible to forbid them to deselect the column as well ?

Thanks in Advanced.

Thanks,
Ken Wong



KW Ken Wong July 2, 2015 06:44 AM UTC

Sorry, I think it was my mistake, the condition that I used seem to be the root cause of this.

Thanks for the solution and sorry for the trouble.

Thanks,
Ken Wong


YP Yuvaraj Palanisamy Syncfusion Team July 2, 2015 09:08 AM UTC

Hi Ken,

Thanks for the update.

Please let us know if you require further assistance on this.

Thanks,
Yuvaraj


DM David Myers August 17, 2016 03:29 AM UTC

Hi,

Was a solution found to allow line breaks in axis labels? We'd also like to utilize this feature.


YP Yuvaraj Palanisamy Syncfusion Team August 18, 2016 07:09 AM UTC

Hi David, 

We have logged this as a feature request in our database. We will implement this feature in upcoming volume 2 service pack 2 release and it is estimated to be rolled in the end of August, 2016.  
 
Thanks, 
Yuvaraj 


Loader.
Live Chat Icon For mobile
Up arrow icon