I think there is an error because there are several charts.

I have a page with 6 charts.

When I hover over the first image, I get an 'undefined' error in the script called 'legendSelection'. (2nd and 3rd images)

1.png


3.png

2.png


However, if I activate only 1 chart on the same page, the error does not occur.

Is it a chart setting problem or a bug?

The chart source is as follows.


--> chart source

<SfChart @ref="obj_plcChart1" Title="@ChartTitle1" Width="100%" Height="50%">

    <ChartArea><ChartAreaBorder Width="0"></ChartAreaBorder></ChartArea>

    <ChartPrimaryXAxis ValueType="Syncfusion.Blazor.Charts.ValueType.DateTime" LabelFormat="hh:mm:ss" EdgeLabelPlacement="EdgeLabelPlacement.Shift">

        <ChartAxisMajorGridLines Width="0"></ChartAxisMajorGridLines>

    </ChartPrimaryXAxis>

    <ChartPrimaryYAxis Title="설비값" Minimum="@v_min1" Maximum="@v_max1" Interval="v_interval1">

        <ChartAxisLineStyle Width="0"></ChartAxisLineStyle>

        <ChartAxisMajorTickLines Width="0"></ChartAxisMajorTickLines>

    </ChartPrimaryYAxis>

    <ChartTooltipSettings Header="@chart_Name1" Enable="true" Shared="true" Format="${point.x} : <b>${point.y}"></ChartTooltipSettings>

    <ChartTooltipSettings Enable="true"></ChartTooltipSettings>

    <ChartSeriesCollection>

        <ChartSeries DataSource="@SeriesDatas1" Name="@chart_Name1" XName="XName" Width="1"

        Opacity="1" YName="YName" Type="ChartSeriesType.Line">

            <ChartMarker Visible="true" Width="7" Height="7" IsFilled="true" Shape="ChartShape.Circle">

            </ChartMarker>

        </ChartSeries>

    </ChartSeriesCollection>

    <ChartLegendSettings EnableHighlight="true"></ChartLegendSettings>

</SfChart>



2 Replies

DG Durga Gopalakrishnan Syncfusion Team December 9, 2024 11:34 AM UTC

Hi Junghwi,


Greetings from Syncfusion.


We have considered your reported scenario as bug and logged a defect report for the issue “Exception on legend hover with multiple charts”. This fix will be available in our weekly patch release which is scheduled to be rolled out on 24th December 2024. We appreciate your patience until then. You can keep track of the bug from the below feedback link.


Feedback : https://www.syncfusion.com/feedback/63786/exception-on-legend-hover-with-multiple-charts


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.


Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”


Regards,

Durga Gopalakrishnan.



DG Durga Gopalakrishnan Syncfusion Team December 14, 2024 07:19 AM UTC

Hi Junghwi,


We are glad to announce that our Essential Studio® 2024 Volume 4 release v28.1.33 is rolled out; we have included fix for reported issue and is available for download under the following link.


https://www.syncfusion.com/forums/195512/essential-studio-2024-volume-4-main-release-v28-1-33-is-available-for-download


Sample : https://blazorplayground.syncfusion.com/LjhfsVizhzbTRLQo


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 Gopalakrishnan.


Loader.
Up arrow icon