jquery - Multiple axis with one series in Flot -


is possible have 2 axis 1 data series in flot?

thanks

yes: https://www.google.com/search?q=flot+multiple+axes

  1. multiple axes - flot example

    function doplot(position) {     $.plot($("#placeholder"),     [ { data: oilprices, label: "oil price ($)" },       { data: exchangerates, label: "usd/eur exchange rate", yaxis: 2 }],         {              xaxes: [ { mode: 'time' } ],             yaxes: [ { min: 0 },             {             // align if right             aligntickswithaxis: position == "right" ? 1 : null,             position: position,             tickformatter: euroformatter             } ],         legend: { position: 'sw' }     }); }  doplot("right");  $("button").click(function () {     doplot($(this).text()); }); 
  2. tutorial: flot – how create charts multiple axes


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -