Allow area charts to display "state" value
I have some control systems that are on/off, and some others that have a discrete set of values. And time of data is irregular, of course.
It is interesting to plot them on the same graph that what they act on (temperature, hygrometry...) but using area is not suitable for that.
The area should be horizontal until the next value, and switch from a value to another verticaly.
It is something that is similar to columns, but with area rendering aspect.
Thanks.
You can do that with the step option: http://jsfiddle.net/highcharts/QCyTr/
-
Yannick commented
Fine! Thanks, I don't saw this option.
Regards,
--
Yannick -
Yannick commented
Better have a picture: being able to plot something like the red graph on this picture: http://en.wikipedia.org/wiki/File:Digital.signal.svg (but with irregular times if needed, and with the fine rendering options of areas).
Regards,
--
Yannick