jjoe64 / GraphView

Android Graph Library for creating zoomable and scrollable line and bar graphs.
https://github.com/jjoe64/GraphView/wiki
Other
2.75k stars 811 forks source link

Secondary Axis Title not displaying #611

Open KindarConrath opened 5 years ago

KindarConrath commented 5 years ago

I applied titles to all 3 axis in the graph i'm building, but it does not appear that the secondary axis (the right one) will display its Title.

graph.getGridLabelRenderer().setVerticalAxisTitle("Load"); graph.getGridLabelRenderer().setHorizontalAxisTitle("Time"); graph.getSecondScale().setVerticalAxisTitle("Displacement");

huw-rhys-jones commented 5 years ago

I think you might have to use the 'drawVerticalAxisTitle' method

Fortrend96 commented 1 year ago

Hello there! unfortunately, method 'drawVerticalAxisTitle' in class 'SecondScale' has protected modifaction. I tryed to make inhereter of class SecondScale for calling this method, but constructor of class 'SecondScale' has private modification. How can I display the title for the second y-axis? Help me, please.