We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to change tooltip value format in ej:chart

Hello,


I need to change this tooltip value format to $802,480,222.00. I'm kindly requesting that you give your valuable consideration to this and give me a solution ASAP.

Thank you.

Best Regards,

Kalinduni


1 Reply

DG Durga Gopalakrishnan Syncfusion Team February 14, 2023 11:27 AM UTC

Hi Kalinduni,


Greetings from Syncfusion.


We suggest you to specify LabelFormat as n2 and tooltip Format as “#point.x# : $#point.y#” to achieve your required scenario. Please check with the below snippet and sample.


<ej:Chart ID="Chart1" >

    <PrimaryYAxis LabelFormat="n2"> </PrimaryYAxis>

    <CommonSeriesOptions>

         <Tooltip Visible="true" Format="#point.x# : $#point.y#" />

    </CommonSeriesOptions>

</ej:Chart>


Sample : https://www.syncfusion.com/downloads/support/directtrac/general/ze/TooltipFormat736252447.zip


Please revert us if you have any concerns.


Regards,

Durga Gopalakrishnan.


Loader.
Live Chat Icon For mobile
Up arrow icon