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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -