Home Forums Chart Support Change Chart type from dropdown

Change Chart type from dropdown

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

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

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

    #15541

    @Priya

    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.