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

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

php - How do you embed a video into a custom theme on WordPress? -