Home Forums Chart Support A Axis Label Click Handler

A Axis Label Click Handler

Viewing 4 posts - 1 through 4 (of 4 total)
  • #15781

    Hi,

    Is it possible to click on the x axis label? When i draw the graph if the y value is 0, the chart will not be drawn and i am not able to click on it. Is there any work around?

    #15801

    @vishnumohan89

    Adding click event to axis label is not possible as of now. If the y value of a dataPoint is set to 0, the representation of dataPoint is not visible at all. That’s why it is almost impossible to click that dataPoint and fire an event.
    If you are using column/bar type of chart, you can use scatter chart for dataPoints that equals to zero. You can set marker size and would be able to click that marker. Please take a look at this jsFiddle.

    ____________
    Indranil Deo,
    Team CanvasJS

    #27717

    +1 for adding this feature!

    Particularly for bar charts representing counts, it is desirable to drill-into the count to see the underlying data. This is possible through the dataSeries.itemClick event, but for stacked bar charts, clicking on the axisX label is a natural way of drilling into all the data associated with the bar.

    #27756

    @jaycincotta,

    We are busy implementing some other important features at this point of time. We will add this feature to wishlist and look into it in the future versions.

    __________
    Indranil Deo
    Team CanvasJS

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

You must be logged in to reply to this topic.