Bubble plot bad performance issue

Posted by: Yifan_Zhang on 19 September 2023, 6:14 pm EST

    • Post Options:
    • Link

    Posted 19 September 2023, 6:14 pm EST

    I found the bubble plot had a serious performance issue: the rendering time increases quadratically based on the number of points. So for 50k points, there would be at least 10 seconds delay. I have spotted the problematic code in bubble plotter’s _drawSymbol:

    var areas = this.hitTester._map[this.chart.series.indexOf(series)];
                                if (areas != null) {
                                    var len = areas.length;
                                    for (var i = len - 1; i >= 0; i--) {
                                        var area = areas[i];
                                        if (area.tag && area.tag.pointIndex == pointIndex) {
                                            var ca = wijmo.tryCast(area, chart._CircleArea);
                                            if (ca)
                                                ca.setRadius(0.5 * sz);
                                        }
                                    }
                                }


    This code iterates through every point for every draw symbol process which significantly impacts the performance. Could you please fix this issue? Thanks.

  • Posted 20 September 2023, 9:35 pm EST

    ​Hello,

    We are able to replicate the issue at our end and have escalated the issue to our Dev team for further investigation with an internal tracking ID WJM-31099. We will provide you with a response on this as soon as we get any updates.

    Regards

  • Posted 4 October 2023, 8:30 pm EST

    Hello,

    We are glad to inform you that the issue has been fixed in the latest nightly build 5.20231.907-nightly.d20231005.t025542 and will be available in the next release build. Thank you for your patience and cooperation.

    Regards

  • Posted 5 October 2023, 2:27 am EST

    Thanks for the response. I’ll give it a try.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels