ChartSeriesPointExtensions.GetFinancialPoint(ChartTooltipData) Method

Returns a financial series point.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

public static ChartFinancialSeriesPoint GetFinancialPoint(
    this ChartTooltipData tooltip
)

Parameters

Name Type Description
tooltip ChartTooltipData

A context for a chart tooltip.

Returns

Type Description
ChartFinancialSeriesPoint

A financial series point.

Remarks

The following example shows how to use the GetFinancialPoint method to customize text for series point tooltips:

<DxChart>
    ...
    <DxChartTooltip>
        @context.GetFinancialPoint().Render((financialPoint) =>
            @<div class="p-3">
                <p>Open: @financialPoint.OpenValue</p>
                <p>Close: @financialPoint.CloseValue</p>
                <p>High: @financialPoint.HighValue</p>
                <p>Low: @financialPoint.LowValue</p>
            </div>
        )
    </DxChartTooltip>
</DxChart>
See Also