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:


Can multiple-charts way do this?


Regards,

Zhu



LP Lokesh Palani Syncfusion Team April 13, 2023 10:00 AM UTC

Hi Zhu,


We do not have direct support to achieve your requirement. We will try it feasible workaround and let you know two business days on April 17, 2023. We appreciate your patience until then.


Regards,

Lokesh.



ZH Zhu April 14, 2023 02:07 AM UTC

Hi, Lokesh,


Great, looking forward to it.


Regards,

Zhu



LP Lokesh Palani Syncfusion Team April 14, 2023 07:41 AM UTC

Hi Zhu,


Thank you. Currently, we are working on your requirement. We will try to find a feasible workaround and let you know within one business day on April 17, 2023. We appreciate your patience until then.


Regards,

Lokesh.



LP Lokesh Palani Syncfusion Team April 17, 2023 04:05 PM UTC

Hi Zhu,


Currently, we are working on your requirement. We will try to find a feasible workaround and let you know within one business day on April 18, 2023. We appreciate your patience until then.


Regards,

Lokesh.



LP Lokesh Palani Syncfusion Team replied to Lokesh Palani April 18, 2023 04:41 PM UTC

Hi Zhu,


We have attempted to display the trackball on the second chart when tapping on the first chart. However, we are experiencing a tooltip issue in showing the details of the first chart on the second trackball. We will try to find a feasible solution within one business day, on April 19, 2023. We appreciate your patience until then.


Regards,

Lokesh.



LP Lokesh Palani Syncfusion Team April 19, 2023 04:13 PM UTC

Hi Zhu ,


You can achieve your requirement with the help of the builder property in the trackballBehavior and the onTrackballPositionChanging callback. By using the onTrackballPositionChanging callback, you can store the index value in the chart and use it in the builder property to display the current chart details in the another trackball. We have provided a sample for your reference. Please let us know if you need any further assistance.


Output Screenshot:



Regards,

Lokesh.


Attachment: chart_181609_6be1bdfd.zip

Marked as answer

ZH Zhu April 21, 2023 09:24 AM UTC

Hi, Lokesh,


Good work,  this is a good reference.

Thank you so much for the effort.


Best Regards,

Zhu




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

Hi Zhu,


Most Welcome. Kindly get back to us if you have further queries. We are always happy to assist you.


Regards,

Lokesh.


Loader.
Up arrow icon