Jqplot different kinds of rendering in one chart -


i build somthing chart in sample: barlineanimated.html. problem is; have more 1 series, render bars, , 1 should rendered line. can't undestand sample: 1 2 series in sample rendered in different way.

how can set kind of rendering single series?

try inside jqplot constructor:

seriesdefaults : {             renderer: $.jqplot.barrenderer,             rendereroptions : {                 barwidth: 30             }         },         series : [{}, {}, {}, {             renderer: $.jqplot.linerenderer         }] 

you can set 1 series drawn either line or bar... unless adding trendline (which different concept altogther). can add multiple series in 1 plot , show them in different rendering (bar + line)


Comments

Popular posts from this blog

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -