Dynamical scaling of bar graph without the bar itself

jsc
2025-05-15
2025-06-06
  • jsc - 2025-05-15

    Hi there,

    Task: dynamical changing the scaling of an bar graph, linear scaling whitout showing the bar only the scaling values and Lines for Main and partial steps. Define 4 Limits for Hi and LO Values with different colors

    Option 1 : use the bar graph whitout showing the actual bar whitout showing the bar, only the scaling values and lines for main and partial steps.
    Then what to do with the 4 Limits ? I could use 4 moveable Rectangles with the start and end value fo the areas but then the whoel bargraph must be transparent. Best way would be if only the scale ist possible to show as it is possible for the Meter 180Β° but this option does not exist for the bargraph.

    Option 2 : user defined HMTL5 Widgets wich may be some allreay has created or where is a dome for using this kind of html5 widget. The expanse for use html is in my eyes to big and gives more option for errors.

    Have some one experience in this topic or a hint how to do it the easiest way?
    Thanks for your help.

     
  • durallymax - 2025-06-06

    I'm a fan of the analog indicators from ISA101. To recreate these, I use a number of rectangles that are dynamically sized and colored based on the input configuration. To keep it standard and easy, everything is built around 100px height. Then when instantiated in a frame, it can be resized as needed with the math remaining the same. The math logic is in a METHOD called by the rear most rectangle.

    These indicators do not use a "filling" bar graph, rather a fixed bar graph with a carrot to track the current value.

     

Log in to post a comment.