Home Forums Chart Support Formatting of hover

Formatting of hover

Viewing 3 posts - 1 through 3 (of 3 total)
  • #29183

    Hi, I would like to limit the precision shown when I hover.
    e.g. right now when i hover on a point on a trace on a line chart I might see e.g. 3.21453453455, 66.777436537 in the tooltip.
    I would prefer to see something like 3.21, 66.77.
    Is there a way to do this?

    #29203

    @esieczka,

    You can format x and y-values shown in the toolTip with the help of xValueFormatString and yValueFormatString respectively. Please refer to our documentation page for more customization options available.


    Shashi Ranjan
    Team CanvasJS

    #29209

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.