Home forums Chart Support Change Chart type from dropdown

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

    var chartType = document.getElementById(‘chartType’);
    chartType.addEventListener( “change”, function(){
    chart.options.data[0].type = chartType.options[chartType.selectedIndex].value;

    this code is getting error for my multiseries column chart
    what changes should be done for my correct output



    I’m sorry but we couldn’t quite understand your requirement. Can you please create JSFiddle representing the problem that you’re facing so that we can look into the issue and help you out in better way?

    Bivek Singh,
    Team CanvasJS

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

You must be logged in to reply to this topic.