javascript - plot two ranges y-axis in a morris.js line chart -
i have 2 series different range , trying plot in 2 ranges different scale on 2 y-axis of line chart morris.js. possible?
i can see 1 serie-1 because serie_2 plotted in value 0 because numbers smaller serie_1.
new morris.line({ element: dest, data:data, xkey: 'date', ykeys: ['serie_1','serie_2'], labels: labels, ... })
tom lank pointed morris issue; got 1 there (multiple scales same chart), , there superimposed graphs @ superimposed graphs example.
i'm not sure whether can superimpose graphs , change opacity using morris object model itself, sure doable plain css.
that said, i'd rather present both graphics side side; superimposing them leads magnitude confusion.
i hope helps!
Comments
Post a Comment