dygraphs - Custom plotter for only specific series -
i have graph 2 series. i'd plot 1 using default plotter , 1 using custom plotter. possible?
i see there option plotter: function(e) { } called each series. however, i'd first series plotted using default plotter. possible?
you can set plotter on per-series basis. example, if columns x, y1 , y2:
new dygraph(div, data, { series: { // no per-series plotter y1 'y2': { plotter: function(e) { ... } } } }); the "bar & line chart" on plotters demo shows complete example of this.
Comments
Post a Comment