|
$('#seriestype').change(function () {
var chart = $('[id*="Chart1"]').ejChart('instance'); // Used to getting instance of the chart
var type = $('#seriestype')[0].value;
chart.model.series[0].type = type;
chart.model.series[1].type = type;
chart.redraw();
}); |