ControlP5 Chart Direction and Scale
in
Contributed Library Questions
•
1 year ago
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?
Thanks,
Jeremy
1