Home forums Using CanvasJS Color value on click

This topic contains 3 replies, has 2 voices, and was last updated by  Suyash Singh 4 months, 3 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #18936

    Chris
    Member

    How do I carry over the color value of the pie chart on click?

    #18941

    Suyash Singh
    Participant

    Chris,

    Please have a look at this jsfiddle.
    ___
    Suyash Singh
    Team CanvasJS

    #18971

    Chris
    Member

    Hi Suyash,

    Thanks for the reply, but this does not solve my problem. I have a pie chart that when clicked generates a column chart, I wanted to get the color of the area I clicked so that I can use that for the color of the column chart that was generated.

    #18987

    Suyash Singh
    Participant

    Chris,
    Please have a look at this jsfiddle.
    ___
    Suyash Singh
    Team CanvasJS

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

You must be logged in to reply to this topic.