javascript - Plot multiple scales on a single axis -


i'm trying plot data on webpage. have 4+ series common xaxis scaling on yaxis should unique each series.

something below picture (you can see multiple scales on both y , y2 axis)

example

i've been testing out jqplot supports y , y2 axis cannot see way have more 1 scale on each axis possible?

if not there package can use can this?

i have discovered jqplot supports more 2 yaxis each axis after first axis displayed on right hand side of plot i've found no simple way modify behaviour. below picture plot able create using 4 yaxis scales

enter image description here.

something below javascript in plot statement it.

        axes: {                 xaxis: {                           show: true,                               renderer: $.jqplot.linearaxisrenderer,                         drawmajorgridlines: true,                          min: 0,                         max: 21,                         numberticks: 7,                          },                                   yaxis: {                         show: true,                         renderer: $.jqplot.linearaxisrenderer,                        },                    y2axis: {                         show: true,                         renderer: $.jqplot.linearaxisrenderer,                        },                    y3axis: {                         show: true,                         renderer: $.jqplot.linearaxisrenderer,                        },                   y4axis: {                         show: true,                         renderer: $.jqplot.linearaxisrenderer,                        },                 },                   

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -