Skip to main content

ChartTooltipData.Series Property

Returns a series used to compose the tooltip text.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor


public IChartSeriesBase Series { get; }

Property Value

Type Description

A series that a user hovers over with the mouse cursor.


The following example shows how to specify tooltip content:

<DxChartTooltip Enabled="true">
    <div style="margin: 0.75rem">
        @if (context.Series.Name == GeneratedDataSeriesName) {
            <div class="fw-bold">
                @string.Format("[{0:0.#} - {1:0.#})", (double)context.Point.Argument - Interval * 0.5, (double)context.Point.Argument + Interval * 0.5)
            <div>@context.Point.Value @((int)context.Point.Value == 1 ? "point" : "points")</div>
        else {
            <div>@string.Format("{0:0.###}", (double)context.Point.Value)</div>
See Also