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

Is it possible to split the Y axis to parts?

Hi,

I'd like to split the Y axis to parts, so that the chart can have multi areas along the y axis, datas can be showed in seperate areas and never overlap.

I guess  SfCartesianChart don't support this function yet, so is it possible to add it?


14 Replies 1 reply marked as answer

ZH Zhu April 5, 2023 06:54 AM UTC

Would be better if each seperated area can be enlarged to occupy the whole chart area by vertical pinch out, then can be shrinked back by vertical pinch in.



ZH Zhu April 5, 2023 07:02 AM UTC

In this way, all Y axises can be showed in a simple and neat style.



YG Yuvaraj Gajaraj Syncfusion Team April 6, 2023 09:04 AM UTC

Hi Zhu,


You can achieve your requirement with the help of placing the two charts followed by one another and synchronizing their behavior. We have created the sample and related KB documentation and shared it below for your reference. You can modify the sample as per your requirement.


Screenshot:



KB, https://www.syncfusion.com/kb/11533/how-to-synchronize-panning-in-multiple-charts-sfcartesianchart


Regards,

Yuvaraj.


Attachment: f181609_7adae30d.zip


ZH Zhu replied to Yuvaraj Gajaraj April 9, 2023 08:39 AM UTC

Hi, Yuvaraj,


This looks good, though I hope to have the trackBall way to show all datas in a box simultaneously, does it support that?


Regards,

Zhu.



LP Lokesh Palani Syncfusion Team April 10, 2023 08:24 AM UTC

Hi Zhu,


You can check the following blog. Here, We have explained how to show all datas in the trackballBehavior. Please let us know if you need any further assistance in this.


KB,

https://www.syncfusion.com/kb/11881/how-to-synchronize-trackball-in-multiple-charts-sfcartesianchart



Regards,

Lokesh Palani.



ZH Zhu April 13, 2023 03:28 AM UTC

Hi, Lokesh,

I like current style of trackball, look the picture: