Data visualisation graph

in this if we want to show bar and line graph simultaneously.
can’t we show
setChartLibrary(‘google-chart’);
setChartType(‘lineGraph’);
setChartType(‘barGraph’);
plotChart(“time_stamp”,“light”);
like this.

1 Like

You can use multigraph for this purpose

var lineGraph = new boltGraph();
lineGraph.setChartType("lineGraph");
lineGraph.setAxisName('X-Axis Name','Y-axis Name');
lineGraph.plotChart('time_stamp','var1');
var barGraph = new boltGraph();
barGraph.setChartType("barGraph");
barGraph.setAxisName('X-Axis Name','Y-axis Name');
barGraph.plotChart('time_stamp','var1');
2 Likes