combined line and bar w/ jqplot

jjdebarros picture jjdebarros · May 23, 2012 · Viewed 14k times · Source

Is it possible w/ jqplot to display a line chart that 'overlays' a bar chart?

I have added a series to a stacked barchart and changed the renderer to $.jqplot.LineRender. This displays as a line but it is getting added to the stacked amounts.

Answer

Boro picture Boro · May 24, 2012

Yes it can be done with jqPlot.

A sample showing how a bar chart can be presented on a single plot together with a line chart is presented here, see the 3rd plot from the top.

Here I made a sample to show line and stacked bar charts on a single plot.