Some strange behavior on line chart when using multiple series

Hi, i just have some strange behavior on line chart when using multiple series and set them visible/invisible trough legend:

Data:

date same for both series where n.n. is not added to the list.

05.05.202007.06.202031.08.202029.11.202015.12.202004.01.2021-26.02.202207.04.202117.07.202130.10.202108.01.2022

Blue:

05.05.2020

29.11.202015.12.2020



17.07.202130.10.202108.01.2022
0,38

2,662,42


0,080,110,04

Red:





15.12.2020


07.04.202117.07.202130.10.202108.01.2022




2,66

0,280,130,240,42


<SfChart @ref=@chart Title="Elements">

    <ChartPrimaryXAxis ValueType="Syncfusion.Blazor.Charts.ValueType.DateTimeCategory"></ChartPrimaryXAxis>

    <ChartSeriesCollection>

        @foreach (WaterTest series in SeriesCollection)

        {

            <ChartSeries XName="Date" YName="Value" Name="@series.Element" [email protected] Width="2">

<ChartMarker Visible="true" Height="7" Width="7"></ChartMarker>

            </ChartSeries>

        }

    </ChartSeriesCollection>

</SfChart>


1 Reply

DG Durga Gopalakrishnan Syncfusion Team April 22, 2022 03:50 PM UTC

Hi Kofler,


Greetings from Syncfusion.


We have validated your reported scenario; unfortunately we are unable replicate an issue from our end. Line series is rendered properly while showing or hiding the series using legend click. We have attached tested sample for your reference.


Before Click



After Click



Sample : https://www.syncfusion.com/downloads/support/directtrac/general/ze/LegendClick-1184745310.zip


If you are still facing problem, please try to replicate an issue in above sample or share us issue reproduced sample to validate this case further. Kindly revert us if you have any other concerns.


Regards,

Durga Gopalakrishnan.


Loader.
Up arrow icon