Change Y-Axis Labels Font Size in Jasper Multi Axis High Charts

Posted on by By admin, in Jaspersoft | 0

How to change second (right) y-axis labels font size in jasper multi-axis high charts.

Make data easy with Helical Insight.
Helical Insight is the world’s best open source business intelligence tool.

Click Here to Free Download

Prerequisites:
Jasper studio 6.2.0 pro

  1. Created report containing multi-axis bar chart (high chart) in the Jasper studio.
  2. Added the property to increase the y-axis labels font size.
  3. yAxis.labels.style.fontSize=”20px” in the chart advanced properties.

  4. The deployed report in the local jasper server.
  5. See the below screenshot. Only left side labels font increased. But right side labels font size is taking 11px by default.

High Charts Font Size

Steps to resolve the above problem:

  1. Open chart properties and Click on show advanced properties
  2. We have one more tab named as “Context Specific” beside “Default”. Click on that
  3. Click on Add, select “yAxis” in the name section. then it will add “_jrAxisIndex”. change the value to 1
  4. click on Add property, enter “labels.style.fontSize” as property name, check the “use an expression” and enter the value (ex: “20pxpx” ) as per your requirement
  5. Click on Ok, Save the report and publish the report in jasper server

Now you will be able to see the changes in the report.

See the below screenshot.
Jaspersoft High Charts

logo

Best Open Source Business Intelligence Software Helical Insight is Here

logo

A Business Intelligence Framework

In case if you have any queries please get us at support@helicaltech.com

Thank You
Anjaneyulu Patturi
Helical IT Solutions Pvt Ltd

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments