iris111qiji Posted July 10, 2013 Report Share Posted July 10, 2013 Hi, I'm trying to make the size of the Axis label font bigger , because they are too small to see. but it does not work in neither of these two ways: 1. change .jchartfx .AxisText {font-size} in jchartfx.css 2. use chart1.getAxisX().setFont("14px Arial"); Would you please help me solve this problem? Thank you very much. Quote Link to comment Share on other sites More sharing options...
0 angelr Posted July 10, 2013 Report Share Posted July 10, 2013 To set the AxisX label font size in code using the API, please use: var axisX = chart1.getAxisX(); axisX.setFont("14px Arial"); To set the AxisX label font size using css styles: .jchartfx .AxisX_Text { font-family: Arial; font-size: 12pt; } I just tested adding the font style in a local copy of a jchartfx.css file and it worked as expected. Quote Link to comment Share on other sites More sharing options...
Question
iris111qiji
Hi,
I'm trying to make the size of the Axis label font bigger , because they are too small to see. but it does not work in neither of these two ways:
1. change .jchartfx .AxisText {font-size} in jchartfx.css
2. use chart1.getAxisX().setFont("14px Arial");
Would you please help me solve this problem? Thank you very much.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.