|
// add your additional code here
<SfChart @ref="@ChartObj" UseGroupingSeparator="true" Title="Profit Comparison of A and B">
// add your additional code here
</SfChart> |
I'm doing a bubble chart and I'd really like to see a comma in the point.size value when displayed in the tooltip.
Below, point.size may be something like 16489. I've tried a few things but no luck on getting a comma formatted number.
Is it possible?
<ChartTooltipSettings Header="<b>${point.tooltip}</b>" EnableMarker="false" Enable="true" Format="Volatility <b>${point.x}</b> <br/>Return <b>${point.y}</b><br/>AUM <b>${point.size} thousand</b>"></ChartTooltipSettings>
Thanks
Steve,
We suggest you to use TooltipRender event to customize the tooltip text based on your requirement. Please check with the below snippet and documentation link.
|
<SfChart> <ChartEvents TooltipRender="TooltipEvent"></ChartEvents> </SfChart> @code { public void TooltipEvent(TooltipRenderEventArgs args) { // Here, you can customize your code. } } |
https://blazor.syncfusion.com/documentation/chart/events#tooltiprender
Please let us know if you have any concerns.
Regards,
Durga Gopalakrishnan.