Home forums Feature Requests & Feedback toolTip customizing

This topic contains 1 reply, has 2 voices, and was last updated by  Manoj Mohan 2 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26623

    WR

    Dear Team,

    Issue

    Sometimes i have date series h:i:s from different sources.
    The seconds do not have to match but are important for the user(s)
    If the time does not match exact, you see only some datapoints in the tooltip.
    I see several solutions

    1) timeframe (+/- seconds) for inclusion. like timeframe is 2seconds:
    datapoint time = seconds h:i:05 include if seconds +/- 02 => seconds h:i:03-h:i:07. closest matching one -> not all. I gues this one is not easy
    2) Omit series from toolTip
    3) Include only specified series in tooltip.

    Is 1,2 or 3 possible in canvasJS

    if yes how?
    if not can you make it?

    Thanks in advance

    Ron

    #26648

    Ron,

    1) timeframe (+/- seconds) for inclusion. like timeframe is 2seconds:
    datapoint time = seconds h:i:05 include if seconds +/- 02 => seconds h:i:03-h:i:07. closest matching one -> not all. I gues this one is not easy

    ToolTip shows all the values common to x value when shared property is set to true. But +/- 2 is not possible as of now.

    2) Omit series from toolTip
    3) Include only specified series in tooltip.

    You can omit a series / include a series in toolTip by setting toolTipContent to null in dataSeries if it has to be omitted. This can also be achieved using contentFormatter of toolTip as shown in this JSFiddle.

    —-
    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.