Hi,
I upgrades a Blazor Projekt from net 6, Blazor 3.7 to net 8, Blazor 7.1.
I handled all breaking changes, so it works now.
There is only an issue with the legend style : in 3.7 only the line is shown. But in 7.1 a dot with line.
The code of my chart control was not changed from 3.7 to 7.1.
<TelerikChart Height="200px">
<ChartPlotArea Background="#FAFAFA"></ChartPlotArea>
<ChartTooltip Visible="true"></ChartTooltip>
<ChartSeriesItems>
<ChartSeries Type="ChartSeriesType.Scatter" Name="@($"{AxleNumber}: {right_text}")" Data="@chartRight" Color="#ff8400"
XField="@nameof(ChartDataViewModel.start)"
YField="@nameof(ChartDataViewModel.Indicator)" Visible="@right_visible">
<ChartSeriesMarkers Type="ChartSeriesMarkersType.Circle" Size="4" Background="#ff8400" />
</ChartSeries>
<ChartSeries Type="ChartSeriesType.Scatter" Name="@($"{AxleNumber}: {left_text}")" Data="@chartLeft" Color="#0071ff"
XField="@nameof(ChartDataViewModel.start)"
YField="@nameof(ChartDataViewModel.Indicator)" Visible="@left_visible">
<ChartSeriesMarkers Type="ChartSeriesMarkersType.Circle" Size="4" Background="#0071ff" />
</ChartSeries>
</ChartSeriesItems>
<ChartYAxes>
<ChartYAxis Max="YAxis_Max" Min="YAxis_Min" />
</ChartYAxes>
<ChartXAxes>
<ChartXAxis Type="date" BaseUnit="days">
<ChartXAxisLabels Format="{0:dd.MM.yy}"></ChartXAxisLabels>
</ChartXAxis>
</ChartXAxes>
<ChartLegend Position="ChartLegendPosition.Custom" OffsetX="50" OffsetY="10" Height="10" Visible="@(right_visible && left_visible)" />
</TelerikChart>
How can I get back to old Legend style?
Peter