Reputation: 2154
How to change second y-axis text font-size in pentaho chart
I putted some text (i.e Monthly Cost ($000) in orthoAxisTitle it shows fine. How to put some text in second y-axis also
Upvotes: 1
Views: 2549
Reputation: 1764
If you want to define ortho2 axis title, put your text to ortho2AxisTitle
parameter and its font definition to ortho2AxisTitleFont
parameter:
Your title
10px sans-serif
If you want to adjust font of ortho2 axis label, define the font using extensionPoints
parameter:
[["ortho2AxisLabel_font", "normal 17px "Open Sans"'"]]
You can define the font also for all axes by setting axisLabel_font
extension point. And then play with the rest of axes by e.g. setting text angle:
[["axisLabel_font", "normal 17px "Open Sans"'"], ["ortho2AxisLabel_textAngle", "-0.6"]]
Upvotes: 1