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

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -