Home forums Chart Support Changing markerSize on hover for Area chart

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

    I have an area chart and I’d like for markers to be hidden by default, but displayed with a custom markerSize when tooltip is visible.

    Unfortunately it looks like the api makes it impossible because:
    1. “markerSize” has to be set to “0” in order to hide markers by default(which is unintuitive to be honest, an option like “showByDefault” would make it a non-issue)
    2. there is no event for when tooltip is displayed
    3. mouseover and mousemove events only trigger for the line, not for the entire area unlike the event tooltips use internally

    Here’s the example:

    Did I miss something or is it not possible to achieve?
    Thank you.



    Sorry, this feature is not available as of now. However setting markerSize to ‘0’ will make marker to be visible only on mouseover with default size. Please take a look at this jsfiddle.

    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.