Home Forums Chart Support button renders chart and keeps track of clicks

button renders chart and keeps track of clicks

Viewing 5 posts - 1 through 5 (of 5 total)
  • #29066

    Hello im trying to create a graph that keeps track of clicks i have three button options and every-time each button is clicked it shows up on the graph which button was clicked

    #29088

    @khalid_jaleel,

    Can you kindly create JSFiddle with your use-case and share it with us along with more briefing about your requirements so that we can understand your scenario better and help you out?

    —-
    Manoj Mohan
    Team CanvasJS

    #29097

    Hi @manoj-mohan thanks for replying, here is my link https://jsfiddle.net/khalid_jaleel/qbfk4heg/1/ so basically im creating a garden tracker app for class and want to create graph that keeps track of the number of times each activity is clicked “water”,”prun”and “weed”

    #29100

    Hi @manoj-mohan thanks for replying, here is my link https://jsfiddle.net/khalid_jaleel/qbfk4heg/1/ so basically im creating a garden tracker app for class and want to create graph that keeps track of the number of times each activity is clicked “water”,”prun”and “weed”

    #29102

    @khalid_jaleel,

    You can have a button click counter as explained in this StackOverflow thread. Using this logic and updating chart options / data on button click should fulfill your requirement. Please take a look at this updated JSFiddle.


    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.