Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ChartSeriesPointExtensions.GetFinancialPoint(ChartTooltipData) Method

Returns a financial series point.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
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 uses the GetFinancialPoint method to customize text for series point tooltips:

Razor
<DxChart>
    ...
    <DxChartTooltip Enabled="true" >
        @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