I'd like to add both X and Y axis values to the controlP5 Chart so that it will act like an X-Y scatter plot in LibreOffice. I'm doing a calibration chart, so the X axis would be force/load, and the Y-axis would be voltage output. I don't see any way to add more than the Y axis values with the chart though. Am I just missing it?
I'm trying to use the control characters \n and \t with text() and it just seems to ignore them. Is there something special I have to do to make control characters work?
Is there a way to have the UI elements scale to fill the size of their parent window? I've seen this question posted around a couple of times, but haven't found a definite answer yet. Right now I'm thinking that it will have to be done manually, but I was hoping there was a way to anchor the elements so that they'll scale automatically.
I'm collecting real-time data and displaying it on a ControlP5 line chart. There are a couple of things that I haven't figured out how to do.
1. Reverse the direction of the chart. By default values are added at the left and are pushed to the right as new data comes in. That means that your oldest value (time 0 when recording real-time data) is to the right instead of the left. I would like to reverse this so that the oldest (first) values end up on the left and the newest on the right.
2. I would like to add a scale to both the X and Y axes. I haven't found a way to do this except by drawing the scales manually.
I'm new to Processing. Is there a better library than ControlP5 for charting like this while still having the other controls available?