Hello guys, newbie reporting in after a lot of stalking and learning here in the forums, so thanks in advance for everyone willing to help
The goal here is the following: I have a normal chart with 2 y axis where I plot two types of process information (temperature and rotation) from both a setpoint and actual (live) information, comparing the lines ‘in the same canvas’. I’d like to add a “tolerance” for the setpoints - and I could do it adding new datasets (which I think it’s not the optimal way).
What I found is the JFreeChart’s DeviationRenderer class (http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/renderer/xy/DeviationRenderer.html), where I would try to use the shading effect with a specific tolerance value (e.g.: ± 5ºC for temperature and 100RPM for rotation) with my setpoint’s values.
The problem here is that I tried to use this property without any success. I’m not able to find the aliases of the chart items to properly use the tool.
Could anyone give me some starting tips? Thanks in advance!