Hi, how do we change the TooltipFormat completely? We don't want to display any of the default values as we are using the chart with different data types. Thanks
|
<SfStockChart>
<StockChartCrosshairSettings Enable="true"></StockChartCrosshairSettings>
<StockChartTooltipSettings Enable="true" Format="<b>${point.Date} : ${point.Y}</b>" Fill="aqua">
</StockChartTooltipSettings>
<StockChartSeriesCollection>
<StockChartSeries DataSource="@StockDetails" Type="ChartSeriesType.Column" XName="Date" YName="Y"></StockChartSeries>
</StockChartSeriesCollection>
</SfStockChart> |
Hi, that hasn't worked, all that's done is added the additional values to the header. We want to replace High/Low/Open/Close with out own text
|
<SfStockChart>
<StockChartEvents TooltipRender="@TooltipRender" SharedTooltipRender="@SharedTooltipRender">
</StockChartEvents>
</SfStockChart>
void SharedTooltipRender(SharedTooltipRenderEventArgs args)
{
//Customize text using args.Text
}
void TooltipRender(TooltipRenderEventArgs args)
{
args.Text = "Changed Text";
} |
Hi,
How do we get the actual values (high, close, low, open, volume etc...) from the chart? We just want to label these differently but we obviously need the data values.
Thanks,
Alex