Author Topic: Widget Library Dial Gauge Customization  (Read 92 times)

Offline sfl_cntrl

  • PLUS+1 User
  • **
  • Posts: 7
  • Karma: +0/-0
Widget Library Dial Gauge Customization
« on: March 30, 2021, 08:55:52 AM »
For the Dial Gauges in the Widget Library, is it possible to edit these gauges to show red and green color regions to the reading on the gauge. For example I would like to use a Large Dial Gauge - One for a pressure gauge 0 to 250 bar. I would like to have the 0 to 50 and 200 to 250 bar regions have some color indication that this zone is abnormal. And in the 50 to 200 bar region, there should be some green color indication that this zone is normal operating condition.

Anyone done something similar in GUIDE using the VBSE and Widget Library gauges? Struggling to see how to customize the gauges in this way.

Offline Tor

  • Administrator
  • PLUS+1 Guru
  • *
  • Posts: 115
  • Karma: +5/-1
Re: Widget Library Dial Gauge Customization
« Reply #1 on: March 31, 2021, 08:26:06 AM »
Hello,

I don't believe you can have regions with different colors. You can change the color of the complete bar when you are within those values you specified by adding a code in the application.
You have the possibility to create your own widgets.

An introduction to the widget library:  https://www.youtube.com/watch?v=hWFVZm5DQXQ
How to creating a widget: https://www.youtube.com/watch?v=RSLdS01IwsE

Have a nice day.
Best regards
Tor
PLUS+1 Helpdesk team

Offline sfl_cntrl

  • PLUS+1 User
  • **
  • Posts: 7
  • Karma: +0/-0
Re: Widget Library Dial Gauge Customization
« Reply #2 on: April 01, 2021, 01:27:21 PM »
Thanks I've followed that logic to change the color of the entire needle bar within certain ranges on the gauge. However this is not ideal for my application, next step will be to make some custom widget gauges then.