ChartSeriesPointExtensions.GetFinancialPoint(ChartTooltipData) Method
Returns a financial series point.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
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 uses the GetFinancialPoint
method to customize text for series point tooltips:
<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