mycontroller-org / mycontroller-v1-legacy

The Open Source Controller
http://www.MyController.org
Apache License 2.0
148 stars 90 forks source link

Grid / certain reference lines in graphs #317

Open RURon opened 7 years ago

RURon commented 7 years ago

It would be great to be able to control if and which grid lines or reference lines are drawn to a graph. For example on a temperature monitor I would love to see a 0 degrees line and maybe every 10 degrees a dotted line (i know this is maybe extreme, but then again - why not).

The same applies to the Y grid. As this is usually time, it would make sense to better indicate the time span / interval by using a (labelled) grid here as well - of course only optional because sometimes on small graphs a grid would be too cluttering.

For example if I visualize 24 hours, it would be nice to have a vertical line on day change and probably on every hour or so as well...

jkandasa commented 7 years ago

@RURon this is excellent requirement. Let me have a look, is there any option available on nvd3 chart.

devicter commented 7 years ago

Yes, it would be very useful