manuelluis / jsrrdgraph

javascript rrdgraph
61 stars 12 forks source link

reduce function on DEF's not working #14

Closed ezanolin closed 9 years ago

ezanolin commented 9 years ago

Specify :reduce=MAX on an AVERAGE DS still averages the data for rendering. eg

DEF:out_avg_raw=test.rrd:output:AVERAGE:step=300:reduce=MAX

manuelluis commented 9 years ago

Fixed in: https://github.com/manuelluis/jsrrdgraph/commit/704dba0b5309bb2388cacfc51abf7b3f241b2496

ezanolin commented 9 years ago

Thanks so much, just an issue though, with those lines uncommented, once you zoom out and your dataset reduces, and you zoom back in again, the higher resolution dataset is no longer rendered instead you end up with very low resolution graphs.

All the best, Enrico.

On Sat, Aug 2, 2014 at 7:33 PM, manuelluis notifications@github.com wrote:

Closed #14 https://github.com/manuelluis/jsrrdgraph/issues/14.

— Reply to this email directly or view it on GitHub https://github.com/manuelluis/jsrrdgraph/issues/14#event-148461708.

manuelluis commented 9 years ago

Fixed in: https://github.com/manuelluis/jsrrdgraph/commit/e2b717ecb149ea8e7846da2a766a9e65613eb209

Thank you.