Hi. I'm just getting started with Radzen for Blazor. New to both.
I was trying to tell if the Radzen Chart for Blazor could support a Scatter type chart. Maybe 50 points.
I didn't see that directly list ed as one of the chart types but didn't know if it could be configured that way as a style.
Thanks in advance.
Jason
Hi @JasonIrby ,
The Radzen Blazor chart does not support scatter plot series at the moment. All supported series are demonstrated in the online demo.
gmkado
November 27, 2023, 8:13pm
3
@korchev is there any plan to support scatter plots in the near future?
korchev
November 29, 2023, 10:36am
4
Hi @gmkado ,
We will probably add support for scatter plots however we don't have an exact ETA.
Maybe you can use a line chart with markers and StrokeWidth
set to 0
as a workaround:
<RadzenChart>
<RadzenLineSeries StrokeWidth="0" Smooth="@smooth" Data="@revenue2019" CategoryProperty="Date" Title="2019" LineType="LineType.Dashed" ValueProperty="Revenue">
<RadzenMarkers MarkerType="MarkerType.Square" Size="10" />
<RadzenSeriesDataLabels Visible="@showDataLabels" />
</RadzenLineSeries>
<RadzenLineSeries StrokeWidth="0" Smooth="@smooth" Data="@revenue2020" CategoryProperty="Date" Title="2020" ValueProperty="Revenue">
<RadzenMarkers MarkerType="MarkerType.Circle" Size="10" />
<RadzenSeriesDataLabels Visible="@showDataLabels" />
</RadzenLineSeries>
<RadzenCategoryAxis Padding="20" Formatter="@FormatAsMonth" />
<RadzenValueAxis Formatter="@FormatAsUSD">
<RadzenGridLines Visible="true" />
<RadzenAxisTitle Text="Revenue in USD" />
</RadzenValueAxis>
</RadzenChart>
gmkado
November 29, 2023, 4:10pm
5
Thanks for the update @korchev ! The line chart doesn't quite work since we want to be able to show a continuous variable on the x axis