Can you have a primary and a secondary Yaxis on a graph?

Mahares

Expert
Licensed User
Longtime User
I have two data series such as PRESSURE and TEMPERATURE that need plotted on the same graph versus the same Xaxis. The plot will look a lot more readable and professional looking if I can make 2 Yaxis ; one the left to represent the pressure and the second on the right to represent the temperature. In the charts module, I could not find a way to insert more than one Yaxis. Any bright ideas or workarounds will really enhance the charting feature of B4A.
Also, it would be nice to to be able to insert a legend on the plot to distinguish between the 2 data series.
Thank you
 

ValDog

Active Member
Licensed User
Longtime User
Here you are.
Attached the modified version.
I made a mistake with the Power function.
You shouldn't have changed the Curve variable type from Double to Int.

There still are no additional lines lines in the decades, this can only be done if you use logarythmic scales for all curves displayed at the same time with the same number of decades.

There is no and there will be no link :).


Klaus,

Attachment?
 
Upvote 0
Top