DxChartTooltip Class

Contains settings for tooltips.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

Declaration

public class DxChartTooltip :
    DxSettingsComponent<ChartTooltipModel>

Remarks

A DxChartTooltip component allows you to specify templates for tooltips displayed when the mouse hovers over a chart series.

<DxChart Data="@SalesData">
    <DxChartTooltip>
        <div class="p-3">
            <p class="text-align-center"><b>@context.Point.Series.Name</b></p>
            <p>City: @context.Point.Argument</p>
            <p>Amount: @context.Point.Value</p>
        </div>
    </DxChartTooltip>
    ...
</DxChart>

Charts - Tooltip Customization

Inheritance

Object
ComponentBase
DxSettingsComponent<DevExpress.Blazor.Internal.ChartTooltipModel>
DxChartTooltip
See Also