charts labels not updating when empty dataSource is applied

Hi

I have a page with a pie chart (accumulation chart):

<ejs-accumulationchart id="piechart1" title="Pie Chart 1">


I'm using an AJAX call to update the dataSource and update the pie chart:

document.getElementById("piechart1").ej2_instances[0].series[0].dataSource = result;


My problem:

If the data source is empty, the chart redraws as an empty chart but the labels are not updated.


How do I get the labels to reset as well if the data source is empty?


Thanks


3 Replies

DG Durga Gopalakrishnan Syncfusion Team November 11, 2021 03:39 PM UTC

Hi Leigh, 

Greetings from Syncfusion. 

We are validating your reported scenario. We will update the status within one business day(12th November, 2021). We appreciate your patience until then. 

Regards,  
Durga G 



DG Durga Gopalakrishnan Syncfusion Team November 12, 2021 01:55 PM UTC

Hi Leigh, 

Thanks for being patience. We have considered this as bug and logged a defect report. This fix will be available in our upcoming weekly patch release which is scheduled to be rolled out on 30th November 2021. We appreciate your patience until then. You can keep track of the bug from the below feedback link. 


If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal. 

Regards,  
Durga G


DG Durga Gopalakrishnan Syncfusion Team December 6, 2021 07:52 AM UTC

Hi Leigh,


We are glad to announce that our v19.3.56 patch release is rolled out; we have added the fix for reported issue and is available for download under the following link.


Nugget Package : https://www.nuget.org/packages/Syncfusion.EJ2.AspNet.Core/


@* Syncfusion Essential JS 2 Scripts*@

    <script src=https://cdn.syncfusion.com/ej2/19.3.56/dist/ej2.min.js type="text/javascript"></script>


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.


Regards,

Durga G


Loader.
Up arrow icon