Multiple axes in 2d plot?

5 views
Skip to first unread message

Dan

unread,
Dec 16, 2024, 12:54:50 PM12/16/24
to Jzy3d
Hey all - having alot of success using this as a plotting library for some radar applications. I am wondering about the ability to add multiple plot axises to a single plot similiar to how jfreechart works. I know this isn't a part of the API, but I'm wondering if the following solution sounds reasonable:

The issue with adding 2 series to the same plot is if the 2nd series is not similiar scale wise it will skew the other rendering. I'd like both series to take up the entire plot even if the values are not in the same range.

So if I add a 2nd series by mapping the values into the min/max of the 1st of which the chart is displayed then I could manually render the axis on the right of the chart for the real values of the 2nd field.

Seems like it would work but kind of wondering if it feels too hacky or if there might be a better way 
Reply all
Reply to author
Forward
0 new messages