Solved

How can I increase the axis label font when enlarging a chart?

  • 23 November 2020
  • 2 replies
  • 96 views

Userlevel 3
  • AIMMS Implementation Partner
  • 22 replies

Hi all,

my question relates to the font size of axis labels when enlarging the respective widget to full-screen mode. The font size is fine on the normal page when the widget is its standard size. However, when zooming the widget, the font size stays the same, making it very hard to read.

Especially when making screenshots of the charts to use in e.g. business presentations, it would help if we can adjust the label size when enlarging a widget.

Any suggestions as to how I can do this?

Thanks in advance :grinning:

icon

Best answer by Pratap Kumble 24 November 2020, 13:05

View original

2 replies

Userlevel 4
Badge +2

Hi @Richard,

That is indeed a great suggestion and we will think of incorporating it in some way. We are already thinking of how we can improve the experience of labels with there is a lot of labels and when there are just a few. 

For the time being you can try adding the below CSS.

.widgetdiv.large .vbox .chart {
font-size:16px !important;
}

Please experiment with the font size. This change affects only charts in the full-screen mode. So tables will not be affected.

 

Please let me know if this works for you!

 

Thanks and Regards,

Pratap

 

Userlevel 3

Hi @Pratap Kumble,

Thanks for your reply, great to hear that you are thinking about incorporating it. Your attached CSS works well, thanks for that!

 

Reply


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator