Home forums Using CanvasJS Getting 2 different Graphs using Radio Buttons

This topic contains 2 replies, has 2 voices, and was last updated by  agnorance 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #23067

    agnorance
    Member

    Hello everyone!

    I’m trying to get different graphs to load, dependent on which radio button is checked.

    https://jsfiddle.net/ha7Lb1yp/

    This is what I got to this point. I know, that i need a second script for the second graph. My question aims more on the if else statement.

    Thanks in advance.

    Kind regards
    David

    #23074

    Priyanka M S
    Member

    David,

    Please take a look at this jsfiddle.

    __
    Priyanka M S
    Team CanvasJS

    #23085

    agnorance
    Member

    Hello

    Thanks for your input.

    I was able to solve it. (With a “little” help from my professor.)

    If anyone is interested i might post a jsfiddle.

    Regards!

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

You must be logged in to reply to this topic.