Author Topic: Font Size for Gauge ?  (Read 1514 times)

Zinopower

  • Newbie
  • *
  • Posts: 7
    • View Profile
Font Size for Gauge ?
« on: February 28, 2016, 02:13:48 PM »
On the Gauge control, changing the font size properties changes the font side for the gauge name text.  Is there a way to change the font size of the actual number graduations for the gauge??

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Font Size for Gauge ?
« Reply #1 on: February 28, 2016, 02:32:48 PM »
The font for the numbers is calculated based on the gage size, there is no way to override that functionality.

If you are fairly versed with coding, an option would be to use the Aqua Gage and modify it:

http://advancedhmi.com/forum/index.php?topic=185.0


Zinopower

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Font Size for Gauge ?
« Reply #2 on: February 29, 2016, 06:36:46 PM »
Great info!  I followed along and was able to get the AquaGauge working. I also found a neat one on here that you did on using the animated picture box, and a png.  got that working too.   Now I just have to figure out how to edit the code for the aquagauge to change the font on that one.

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: Font Size for Gauge ?
« Reply #3 on: February 29, 2016, 08:59:31 PM »
CircularGauge will allow you to change the font size for the numbers (property Axis\LabelFontSize):

https://www.advancedhmi.com/forum/index.php?PHPSESSID=61326fd95667323db25ce1a7562ea083&topic=1114.0
« Last Edit: May 20, 2019, 01:16:27 AM by Godra »