How to change the TooltipTemplate for RadzenSeriesValueLine?

I want to change the Tooltip for my ValueLine, but it does not work like this

<ChildContent>
       <RadzenMarkers MarkerType="MarkerType.None" Size="3"/>
       <RadzenSeriesValueLine Visible="true" Stroke="black" LineType="LineType.Dashed" Value="35" 
        StrokeWidth="3"/>
</ChildContent>
<TooltipTemplate Context="data">
        .......
</TooltipTemplate>

It always stays like this

image

It has a TooltipTemplate of its own. The context is the Value.

<RadzenSeriesValueLine Visible="true" Stroke="black" LineType="LineType.Dashed" Value="35" 
        StrokeWidth="3">
   <TooltipTemplate Context="data"> <!-- data will be 35 -->
   </TooltipTemplate>
</RadzenSeriesValueLine>
1 Like

Ah nice, is it also possible to apply a style on the ToolTip? (like in the RadzenChartTooltipOptions)

So that it looks like that:
image

No, right now this isn't supported. Here is the tooltip rendering implementation: radzen-blazor/RadzenSeriesValueLine.razor at master ยท radzenhq/radzen-blazor ยท GitHub

1 Like