Hello,
I have a heatmap chart in a grid bound to observable data. When the data is updated, the Y label sorting flip flops / changes on each update. How do you preserve the order of the sorting on the Y Axis?
My heatmap is basically setup exactly like this except I have strings on both the x and y axis. https://blazor.syncfusion.com/demos/heatmap-chart/json-cell?theme=fluent
Thank you
Hi Justin,
Thank you for contacting Syncfusion Support.
We are currently analyzing the reported scenario in the HeatMap component. We will update you with further details on September 30, 2022.
Regards,
Indumathi R.
Thanks for looking into it. I noticed it does not have to be an observable collection. It happens when calling
InvokeAsync(StateHasChanged); to update the data. The heatmap is templated within the grid. The lables randomly switching order basically makes the heatmap unusable. To see it happen, sometimes you have to update the data many times.
Thank you!
Hi Justin,
Thank you for the update.
We tried to reproduce the reported issue using the provided scenario. In our application, when we tried to remove the title dynamically, the y-axis labels are reversed and the title is not removed. For your reference, please see the screen capture video below.
https://www.syncfusion.com/downloads/support/directtrac/general/ze/labelreverse-216109706
NOTE: We have not modified any properties of the axis labels in the button click. We have tried to make the title text empty in the button click.
Could you please confirm the above reversal of the y-axis labels in the video corresponds to your scenario? If not, please provide us a video or a sample application that demonstrates the exact scenario. It will be helpful for us to analyze and assist you further.
Regards,
Indumathi R
Hello,
I have strings in both the x and y axis. I coded a mini demo for you that closer aligns to what I'm seeing. The heatmap does not have to be in a grid or use an observable collection. You can use the code in your github blazor demo project (Heatmap >> @page "/heatmap-chart/json-cell"). Just overwrite the original code, run, and click the button. You will see the labels on the Y axis switch back and forth.
The code should be attached.
Thanks,
Justin K
Hi Justin,
Thank you for the update.
We are able to reproduce the reported issue with the provided sample in the HeatMap component. We have considered this as a defect and logged a defect report for the same. However, we will include the fix for the reported issue in our weekly patch release which is expected to be available by mid of October 2022. Please find the below feedback link to keep track of the reported issue.
https://www.syncfusion.com/feedback/38122
Regards,
Indumathi R.
Hi Justin,
Sorry for the inconvenience.
We have not included the fix for the reported issue in our weekly patch release due to the stability concerns in the fix. However, we will provide a stable fix and include it in our weekly patch release, which is expected to be available by the first week of November 2022.
Regards,
Indumathi R.
Hello Indumathi,
Thank you for the updates.
Justin
Hi Justin,
Most Welcome.
We'll let you know once the package is published.
Regards,
Indumathi R.
When we tried to resolve the reported issue, we came across some stability issues when testing the axis label properties against data source updates. We have planned to provide a stable fix across all the properties of the axis labels. So we have considered this an improvement, and the fix for this improvement will be available in our 2022 Volume 4 release, which is expected to be available by the end of December 2022.
Hi Justin,
We have resolved the reported issue - “When the data is dynamically added, the labels in the y-axis are displayed in reverse order” and the fix is included in our Essential Studio 2022 Volume 4 release v20.4.0.38 which is rolled out and is available for download under the following link.
We thank you for your support and appreciate
your patience in waiting for this release. Please get in touch with us if you would
require any further assistance.