How to get Min/Max Dates From Flot Chart -


does flot offer function return minimum , maximum dates of data used in chart?

to clear, i'm not looking function returns min/max dates of x-axis, rather min/max dates exists within dataset chart using. (i.e. i'm aware of plot.getaxes().xaxis.max/min functions return dates shown on xaxis).

i'm guessing flot "know" min/max dates within dataset, since able dynamically create xaxis date range properly. i'm hoping makes dates available us.

here properties plot.getaxes().yaxis:

yaxis: object     box: object     c2p: (c) { return m + c / s; } ->  datamax: 116.2 ->  datamin: 0     direction: "y"     innermost: true     labelheight: 11     labelwidth: 18     max: 118     min: 0     n: 1     options: object     p2c: (p) { return (p - m) * s; }     position: "left"     reservespace: true     scale: 6.3559322033898304     show: true     tickdecimals: 0     tickformatter: (v, axis) {     tickgenerator: (axis) {     ticklength: "full"     ticksize: 10     ticks: array[13]     used: true 

what want datamax , datamin properties.


Comments