I wonder if it is possible to format the label from Aug 2020: $384,000 to (Aug, $384,000) for your example ( [Blazor line chart component)
Thanks,
I wonder if it is possible to format the label from Aug 2020: $384,000 to (Aug, $384,000) for your example ( [Blazor line chart component)
Thanks,
Hi @Angela_Lee,
Yes, this is possible. You can achieve it by setting the tooltip template.
<RadzenLineSeries Smooth="@smooth" Data="@revenue2019" CategoryProperty="Date" Title="2019" LineType="LineType.Dashed" ValueProperty="Revenue">
<RadzenMarkers MarkerType="MarkerType.Square" />
<RadzenSeriesDataLabels Visible="@showDataLabels" />
<TooltipTemplate>
@context.Date.ToString(): <strong>@context.Revenue</strong>
</TooltipTemplate>
</RadzenLineSeries>
Thanks a lot! It works!