Barometer Gauge Widget [3.1.0.0;5.0.0.0)

Barometer SS2

A barometer with an optional LCD in a “classic” style. The unit for the primary scale can be set to hectopascal/millibars or inches of mercury. The secondary scale can be turned off or the unit set to hectopascal/millibars, inches of mercury, millimeters of mercury/torr, pascal or pounds per square inch. Most colors can be changed.

Screenshots

Barometer SS6
Barometer SS1
Barometer SS3
Barometer SS4
Barometer SS5

Changelog

Version 0.1

  • initial release

Resources

uid: barometer_gauge
tags:
  - barometer
  - gauge
  - pressure
props:
  parameters:
    - description: The title text
      label: Title
      name: title
      required: false
      type: TEXT
    - context: item
      description: The barometric pressure Item
      label: Barometric Pressure Item
      name: item
      required: true
      type: TEXT
    - default: mbar
      label: Primary Scale Unit
      name: primary
      required: false
      type: TEXT
      limitToOptions: true
      options:
        - label: inHg
          value: inhg
        - label: mbar/hPa
          value: mbar
    - default: none
      label: Secondary Scale Unit
      name: secondary
      required: false
      type: TEXT
      limitToOptions: true
      options:
        - label: None
          value: none
        - label: inHg
          value: inhg
        - label: mbar/hPa
          value: mbar
        - label: mmHg/Torr
          value: mmhg
        - label: Pa
          value: pascal
        - label: psi
          value: psi
    - default: false
      name: enableLCD
      label: Enable LCD
      description: Enable the LCD
      type: BOOLEAN
    - default: "#e64a19"
      description: The needle color
      label: Needle Color
      name: needleColor
      required: false
      type: TEXT
    - default: "#ddd"
      description: The gauge frame color
      label: Frame Color
      name: frameColor
      required: false
      type: TEXT
    - default: transparent
      description: The dial color
      label: Dial Color
      name: dialColor
      required: false
      type: TEXT
    - default: "#464646"
      description: The dial print color
      label: Print Color
      name: printColor
      required: false
      type: TEXT
    - default: transparent
      description: The shadow color, e.g. "black" or "#0008"
      label: Shadow Color
      name: shadowColor
      required: false
      type: TEXT
      advanced: true
    - default: "10"
      description: The blur value for the dial shadow (no effect if the dial is transparent)
      label: Shadow Blur
      name: shadowBlur
      required: false
      type: INTEGER
      advanced: true
    - default: "3"
      description: The offset value for the dial shadow (no effect if the dial is
        transparent)
      label: Shadow Offset
      name: shadowOffset
      required: false
      type: INTEGER
      advanced: true
    - default: 10
      description: The primary axis font size
      label: Primary Scale Font Size
      name: primaryFontSize
      required: false
      type: INTEGER
      min: 6
      max: 50
      advanced: true
    - default: 10
      description: The secondary axis font size
      label: Secondary Scale Font Size
      name: secondaryFontSize
      required: false
      type: INTEGER
      min: 6
      max: 50
      advanced: true
    - description: The height of widget
      label: Height
      name: height
      required: false
      type: TEXT
  parameterGroups: []
timestamp: Dec 31, 2024, 1:52:53 AM
component: oh-chart
config:
  height: =props.height
slots:
  series:
    - component: oh-data-series
      config:
        id: dial
        emptyCircleStyle:
          color: =props.dialColor
          shadowBlur: =props.shadowBlur
          shadowColor: =props.shadowColor
          shadowOffsetX: =props.shadowOffset
          shadowOffsetY: =props.shadowOffset
        radius: 85%
        type: pie
    - component: oh-data-series
      config:
        anchor:
          itemStyle:
            color: "#000"
          show: true
          size: 14
        axisLabel:
          show: false
        axisLine:
          lineStyle:
            color:
              - - 1
                - =props.frameColor
            shadowBlur: 6
            shadowColor: "#0008"
            width: 6
        axisTick:
          show: false
        detail:
          show: false
        endAngle: -270
        pointer:
          show: false
        radius: 85%
        splitLine:
          show: false
        startAngle: 90
        title:
          show: false
        type: gauge
    - component: oh-data-series
      config:
        id: rain
        anchor:
          icon: path://M 21.5,90 C 21.2,90 20.8,89.9 20.5,89.8 19.2,89.2 18.7,87.8
            19.2,86.5 L 22.7,78.5 C 23.3,77.2 24.7,76.7 26,77.2 27.3,77.8
            27.8,79.2 27.3,80.5 L 23.8,88.5 C 23.4,89.5 22.5,90 21.5,90 Z M
            35.5,99 C 35.2,99 34.8,98.9 34.5,98.8 33.2,98.2 32.7,96.8 33.2,95.5
            L 36.7,87.5 C 37.3,86.2 38.7,85.7 40,86.2 41.3,86.8 41.8,88.2
            41.3,89.5 L 37.8,97.5 C 37.4,98.5 36.5,99 35.5,99 Z M 77.5,99 C
            77.2,99 76.8,98.9 76.5,98.8 75.2,98.2 74.7,96.8 75.2,95.5 L
            78.7,87.5 C 79.3,86.2 80.7,85.7 82,86.2 83.3,86.8 83.8,88.2
            83.3,89.5 L 79.8,97.5 C 79.4,98.5 78.5,99 77.5,99 Z M 63.5,90 C
            63.2,90 62.8,89.9 62.5,89.8 61.2,89.2 60.7,87.8 61.2,86.5 L
            64.7,78.5 C 65.3,77.2 66.7,76.7 68,77.2 69.3,77.8 69.8,79.2
            69.3,80.5 L 65.8,88.5 C 65.4,89.5 64.5,90 63.5,90 Z M 50.5,90 C
            50.2,90 49.8,89.9 49.5,89.8 48.2,89.2 47.7,87.8 48.2,86.5 L
            51.7,78.5 C 52.3,77.2 53.7,76.7 55,77.2 56.3,77.8 56.8,79.2
            56.3,80.5 L 52.8,88.5 C 52.4,89.5 51.5,90 50.5,90 Z M 57.699219,21.5
            C 48.440743,21.5 40.147523,26.568909 35.720703,34.470703
            34.740953,34.203051 33.756475,33.900391 32.800781,33.900391
            28.420493,33.900391 24.647047,36.370936 22.773437,40.054687
            22.48915,40.04404 22.169674,40 21.900391,40 17.410147,40
            13.200641,41.769453 10.121094,44.958984 7.1678467,48.021611
            5.5,52.004482 5.5,56.199219 V 56.417969 56.4375 C
            5.6087751,60.897281 7.374687,65.00355 10.5625,67.980469
            13.548648,70.954812 17.626182,72.599609 21.900391,72.599609 H
            77.599609 C 86.309736,72.599609 93.5,65.523566 93.5,56.800781
            93.5,49.861444 88.932957,43.93227 82.568359,41.845703
            80.209008,30.230901 69.847554,21.5 57.699219,21.5 Z M 57.699219,24.5
            C 68.664176,24.5 78.042381,32.574423 79.820312,43.148437 L
            79.982422,44.109375 80.925781,44.351562 C 86.461212,45.780061
            90.5,50.882599 90.5,56.800781 90.5,63.877996 84.689483,69.599609
            77.599609,69.599609 H 21.900391 C 18.385006,69.599609
            15.072076,68.251763 12.660156,65.839844 L 12.642578,65.820312
            12.623047,65.802734 C 10.021865,63.380944 8.5910267,60.095376
            8.5,56.363281 V 56.199219 C 8.5,52.793956 9.832544,49.578389
            12.279297,47.041016 14.799749,44.430547 18.190635,43 21.900391,43
            22.500391,43 22.886812,43.002294 23.353516,43.080078 L
            24.568359,43.28125 25.001953,42.130859 C 26.179894,39.017729
            29.196019,36.900391 32.800781,36.900391 33.834115,36.900391
            34.818897,37.066305 35.822266,37.484375 L 37.115234,38.023437
            37.742187,36.771484 C 41.489512,29.276836 49.159658,24.5
            57.699219,24.5 Z
          itemStyle:
            color: =props.printColor
          keepAspect: true
          offsetCenter:
            - -28%
            - -28%
          show: true
          size: 25
        axisLabel:
          show: false
        axisLine:
          show: false
        axisTick:
          show: false
        detail:
          show: false
        pointer:
          show: false
        progress:
          show: false
        radius: 85%
        splitLine:
          show: false
        title:
          show: false
        type: gauge
    - component: oh-data-series
      config:
        id: fair
        anchor:
          icon: path://M 30.564453,16.353516 C 28.102313,16.408856 25.618034,17.058891
            23.333984,18.353516 L 23.328125,18.355469 23.324219,18.357422 C
            16.068289,22.567336 13.565629,31.965502 17.712891,39.226562 L
            17.714844,39.228516 17.716797,39.232422 C 18.367853,40.35585
            19.142015,41.365905 20.013672,42.255859 L 21.443359,40.857422 C
            20.688631,40.086851 20.017526,39.210444 19.451172,38.234375 V
            38.232422 C 19.450231,38.2308 19.448206,38.230138
            19.447266,38.228516 15.845167,31.914163 18.018962,23.748488
            24.328125,20.087891 26.31788,18.962151 28.472761,18.401583
            30.611328,18.353516 35.322022,18.247634 39.938438,20.627616
            42.457031,24.96875 42.887844,25.730189 43.237477,26.518041
            43.507812,27.322266 L 45.402344,26.685547 C 45.092284,25.763149
            44.694344,24.856113 44.197266,23.978516 L 44.193359,23.972656
            44.191406,23.96875 C 41.299927,18.980089 35.980963,16.231769
            30.564453,16.353516 Z M 57.699219,21.5 C 48.440743,21.5
            40.147523,26.568909 35.720703,34.470703 34.740953,34.203051
            33.756475,33.900391 32.800781,33.900391 28.420493,33.900391
            24.647047,36.370936 22.773437,40.054687 22.48915,40.04404
            22.169674,40 21.900391,40 17.410147,40 13.200641,41.769453
            10.121094,44.958984 7.1678467,48.021611 5.5,52.004482 5.5,56.199219
            V 56.417969 56.4375 C 5.6087751,60.897281 7.374687,65.00355
            10.5625,67.980469 13.548648,70.954812 17.626182,72.599609
            21.900391,72.599609 H 77.599609 C 86.309736,72.599609 93.5,65.523566
            93.5,56.800781 93.5,49.861444 88.932957,43.93227 82.568359,41.845703
            80.209008,30.230901 69.847554,21.5 57.699219,21.5 Z M 57.699219,24.5
            C 68.664176,24.5 78.042381,32.574423 79.820312,43.148437 L
            79.982422,44.109375 80.925781,44.351562 C 86.461212,45.780061
            90.5,50.882599 90.5,56.800781 90.5,63.877996 84.689483,69.599609
            77.599609,69.599609 H 21.900391 C 18.385006,69.599609
            15.072076,68.251763 12.660156,65.839844 L 12.642578,65.820312
            12.623047,65.802734 C 10.021865,63.380944 8.5910267,60.095376
            8.5,56.363281 V 56.199219 C 8.5,52.793956 9.832544,49.578389
            12.279297,47.041016 14.799749,44.430547 18.190635,43 21.900391,43
            22.500391,43 22.886812,43.002294 23.353516,43.080078 L
            24.568359,43.28125 25.001953,42.130859 C 26.179894,39.017729
            29.196019,36.900391 32.800781,36.900391 33.834115,36.900391
            34.818897,37.066305 35.822266,37.484375 L 37.115234,38.023437
            37.742187,36.771484 C 41.489512,29.276836 49.159658,24.5
            57.699219,24.5 Z M 17.489095,19.874083 C 16.978594,19.874083
            16.467895,19.679339 16.078407,19.289652 L 11.491641,14.70315 C
            10.712533,13.923976 10.712533,12.661017 11.491641,11.881842
            12.270815,11.102734 13.534039,11.10247 14.312949,11.881842 L
            18.899715,16.468344 C 19.678824,17.247519 19.678824,18.510478
            18.899715,19.289652 18.510294,19.679339 17.999793,19.874083
            17.489095,19.874083 Z M 44.548391,19.874083 C 44.037957,19.874083
            43.527192,19.679339 43.13777,19.289652 42.358664,18.510478
            42.358664,17.247254 43.13777,16.468344 L 47.724537,11.881842 C
            48.503711,11.102734 49.766935,11.10247 50.545845,11.881842
            51.324954,12.661017 51.324954,13.924241 50.545845,14.70315 L
            45.959078,19.289652 C 45.56959,19.679339 45.058892,19.874083
            44.548391,19.874083 Z M 11.885096,33.403732 H 5.3985013 C
            4.2966931,33.403732 3.403443,32.510489 3.403443,31.408681
            3.403443,30.306873 4.2966931,29.413629 5.3985013,29.413629 H
            11.885096 C 12.986904,29.413629 13.880148,30.306873
            13.880148,31.408681 13.880148,32.510489 12.986904,33.403732
            11.885096,33.403732 Z M 31.018744,14.270085 C 29.916936,14.270085
            29.023692,13.376841 29.023692,12.275033 V 5.7884384 C
            29.023692,4.6866301 29.916936,3.79338 31.018744,3.79338
            32.120552,3.79338 33.013795,4.6866301 33.013795,5.7884384 V
            12.275033 C 33.013795,13.376841 32.120552,14.270085
            31.018744,14.270085 Z
          itemStyle:
            color: =props.printColor
          keepAspect: true
          offsetCenter:
            - 0%
            - -43%
          show: true
          size: 25
        axisLabel:
          show: false
        axisLine:
          show: false
        axisTick:
          show: false
        detail:
          show: false
        pointer:
          show: false
        progress:
          show: false
        radius: 85%
        splitLine:
          show: false
        title:
          show: false
        type: gauge
    - component: oh-data-series
      config:
        id: sun
        anchor:
          icon: path://M 29.5399,32.5569 C 28.7679,32.5569 27.9956,32.2624 27.4066,31.6731
            L 20.4703,24.7372 C 19.2921,23.5589 19.2921,21.649 20.4703,20.4707
            21.6486,19.2925 23.5589,19.2921 24.7368,20.4707 L 31.6731,27.4066 C
            32.8513,28.5849 32.8513,30.4948 31.6731,31.6731 31.0842,32.2624
            30.3122,32.5569 29.5399,32.5569 Z M 77.396,80.4134 C 76.6241,80.4134
            75.8517,80.119 75.2628,79.5297 L 68.3265,72.5934 C 67.1483,71.4151
            67.1483,69.5048 68.3265,68.3269 69.5048,67.1487 71.4151,67.1487
            72.593,68.3269 L 79.5293,75.2632 C 80.7075,76.4415 80.7075,78.3518
            79.5293,79.5297 78.9403,80.119 78.1684,80.4134 77.396,80.4134 Z M
            22.6036,80.4134 C 21.8316,80.4134 21.0593,80.119 20.4703,79.5297
            19.2921,78.3514 19.2921,76.4411 20.4703,75.2632 L 27.4066,68.3269 C
            28.5849,67.1487 30.4952,67.1487 31.6731,68.3269 32.8513,69.5052
            32.8513,71.4155 31.6731,72.5934 L 24.7368,79.5297 C 24.1479,80.119
            23.3759,80.4134 22.6036,80.4134 Z M 70.4601,32.5569 C
            69.6882,32.5569 68.9158,32.2624 68.3269,31.6731 67.1487,30.4948
            67.1487,28.5845 68.3269,27.4066 L 75.2632,20.4707 C 76.4415,19.2925
            78.3518,19.2921 79.5297,20.4707 80.7079,21.649 80.7079,23.5593
            79.5297,24.7372 L 72.5934,31.6731 C 72.0044,32.2624 71.2321,32.5569
            70.4601,32.5569 Z M 21.0653,53.017 H 11.256 C 9.5898,53.017
            8.23899,51.6662 8.23899,50 8.23899,48.3338 9.5898,46.983
            11.256,46.983 H 21.0653 C 22.7315,46.983 24.0823,48.3338 24.0823,50
            24.0823,51.6662 22.7315,53.017 21.0653,53.017 Z M 88.744,53.017 H
            78.9347 C 77.2685,53.017 75.9177,51.6662 75.9177,50 75.9177,48.3338
            77.2685,46.983 78.9347,46.983 H 88.744 C 90.4102,46.983
            91.761,48.3338 91.761,50 91.761,51.6662 90.4106,53.017 88.744,53.017
            Z M 50,91.761 C 48.3338,91.761 46.983,90.4102 46.983,88.744 V
            78.9347 C 46.983,77.2685 48.3338,75.9177 50,75.9177 51.6662,75.9177
            53.017,77.2685 53.017,78.9347 V 88.744 C 53.017,90.4106
            51.6662,91.761 50,91.761 Z M 50,24.0823 C 48.3338,24.0823
            46.983,22.7315 46.983,21.0653 V 11.256 C 46.983,9.5898
            48.3338,8.23899 50,8.23899 51.6662,8.23899 53.017,9.5898
            53.017,11.256 V 21.0653 C 53.017,22.7315 51.6662,24.0823 50,24.0823
            Z M 50,28.207031 C 37.99721,28.207031 28.207031,37.99721
            28.207031,50 28.207031,62.00279 37.99721,71.792969 50,71.792969
            62.00279,71.792969 71.792969,62.00279 71.792969,50
            71.792969,37.99721 62.00279,28.207031 50,28.207031 Z M 50,31.207031
            C 60.37564,31.207031 68.792969,39.62436 68.792969,50
            68.792969,60.37564 60.37564,68.792969 50,68.792969
            39.62436,68.792969 31.207031,60.37564 31.207031,50
            31.207031,39.62436 39.62436,31.207031 50,31.207031 Z
          itemStyle:
            color: =props.printColor
          keepAspect: true
          offsetCenter:
            - 28%
            - -28%
          show: true
          size: 25
        axisLabel:
          show: false
        axisLine:
          show: false
        axisTick:
          show: false
        detail:
          show: false
        pointer:
          show: false
        progress:
          show: false
        radius: 85%
        splitLine:
          show: false
        title:
          show: false
        type: gauge
    - component: oh-data-series
      config:
        id: pri_mbar
        anchor:
          show: =props.primary=="mbar"?true:false
          itemStyle:
            color: =props.needleColor
            shadowBlur: 0
          showAbove: true
          size: 12
        axisLabel:
          show: =props.primary=="mbar"?true:false
          color: =props.printColor
          distance: -6
          fontSize: =props.primaryFontSize
          fontWeight: 100
          rotate: tangential
        axisLine:
          show: =props.primary=="mbar"?true:false
          lineStyle:
            color:
              - - 1
                - =props.printColor
            width: 1
        max: 1070
        min: 950
        splitNumber: 12
        radius: 60%
        axisTick:
          show: =props.primary=="mbar"?true:false
          splitNumber: 5
          distance: 0
          length: -7%
          lineStyle:
            color: =props.printColor
        splitLine:
          show: =props.primary=="mbar"?true:false
          distance: 0
          length: -7%
          lineStyle:
            color: =props.printColor
            width: 2
        data:
          - itemStyle:
              color: =props.needleColor
            name: =props.title
            value: =Number.parseFloat(items[props.item].state)
        detail:
          backgroundColor: rgb(137,150,96)
          borderColor: "#000"
          borderWidth: 1
          color: "#000"
          fontFamily: Courier New
          fontSize: 1em
          fontWeight: 600
          height: 25%
          width: 94%
          formatter: "=v=>v.toFixed(props.primary=='inhg'?2:0)+(items[props.item].state.split(' ').length > 1 ? ' '+(items[props.item].state.split(' ')[1]=='hPa'?'mbar':items[props.item].state.split(' ')[1]) : '')"
          offsetCenter:
            - 0
            - 95%
          padding:
            - 1
            - 2
            - 0
            - 2
          show: =props.enableLCD?true:false
          valueAnimation: true
        pointer:
          show: =props.primary=="mbar"?true:false
          icon: path://M 50 15 C 49.913974 15 49.800781 15.164063 49.800781 15.164062 L 49.734375 27.259766 C 49.577351 27.78691 49.375239 28.417768 49.199219 28.822266 C 48.818399 29.697395 47.800781 31.320312 47.800781 31.320312 C 47.800781 31.320313 48.684895 30.64024 49.716797 30.527344 L 49.5 70.138672 C 48.058396 70.382346 47.002396 71.629746 47 73.091797 C 47.002792 73.747385 47.220261 74.384011 47.619141 74.904297 C 47.575406 74.72325 47.552471 74.537807 47.550781 74.351562 C 47.550794 72.999197 48.647216 71.902775 50 71.902344 C 51.352784 71.902775 52.449206 72.999197 52.449219 74.351562 C 52.447529 74.537807 52.424594 74.72325 52.380859 74.904297 C 52.779739 74.384011 52.997208 73.747385 53 73.091797 C 52.999508 71.628269 51.943058 70.378687 50.5 70.134766 L 50.283203 30.525391 C 51.314589 30.615983 52.199219 31.158203 52.199219 31.158203 C 52.199219 31.158203 51.182411 29.591289 50.800781 28.742188 C 50.625205 28.351542 50.422793 27.740799 50.265625 27.230469 L 50.199219 15.164062 C 50.199219 15.164062 50.086026 15 50 15 z
          itemStyle:
            color: =props.needleColor
            shadowBlur: 2
            shadowColor: "#000a"
            shadowOffsetX: 2
            shadowOffsetY: 2
          keepAspect: true  
          length: 150%
          width: 15%
          offsetCenter:
            - 0
            - 53%
        title:
          show: =props.primary=="mbar"?true:false
          color: =props.printColor
          offsetCenter:
            - 0
            - 35%
        tooltip:
          formatter: "=p=>'<b>'+p.value.toFixed(1)+(items[props.item].state.split(' ').length > 1 ? ' '+items[props.item].state.split(' ')[1] : '')+'</b>'"
        type: gauge
    - component: oh-data-series
      config:
        id: pri_inhg
        anchor:
          show: =props.primary=="inhg"?true:false
          itemStyle:
            color: =props.needleColor
            shadowBlur: 0
          showAbove: true
          size: 12
        axisLabel:
          show: =props.primary=="inhg"?true:false
          color: =props.printColor
          distance: -6
          fontSize: =props.primaryFontSize
          fontWeight: 100
          rotate: tangential
        axisLine:
          show: =props.primary=="inhg"?true:false
          lineStyle:
            color:
              - - 1
                - =props.printColor
            width: 1
        max: 31.5
        min: 28
        startAngle: 229.0725
        endAngle: -37.5975
        splitNumber: 7
        radius: 60%
        axisTick:
          show: =props.primary=="inhg"?true:false
          distance: 0
          splitNumber: 5
          length: -7%
          lineStyle:
            color: =props.printColor
        splitLine:
          show: =props.primary=="inhg"?true:false
          distance: 0
          length: -7%
          lineStyle:
            color: =props.printColor
            width: 2
        data:
          - itemStyle:
              color: =props.needleColor
            name: =props.title
            value: =Number.parseFloat(items[props.item].state)
        detail:
          show: false
        pointer:
          show: =props.primary=="inhg"?true:false
          icon: path://M 50 15 C 49.913974 15 49.800781 15.164063 49.800781 15.164062 L 49.734375 27.259766 C 49.577351 27.78691 49.375239 28.417768 49.199219 28.822266 C 48.818399 29.697395 47.800781 31.320312 47.800781 31.320312 C 47.800781 31.320313 48.684895 30.64024 49.716797 30.527344 L 49.5 70.138672 C 48.058396 70.382346 47.002396 71.629746 47 73.091797 C 47.002792 73.747385 47.220261 74.384011 47.619141 74.904297 C 47.575406 74.72325 47.552471 74.537807 47.550781 74.351562 C 47.550794 72.999197 48.647216 71.902775 50 71.902344 C 51.352784 71.902775 52.449206 72.999197 52.449219 74.351562 C 52.447529 74.537807 52.424594 74.72325 52.380859 74.904297 C 52.779739 74.384011 52.997208 73.747385 53 73.091797 C 52.999508 71.628269 51.943058 70.378687 50.5 70.134766 L 50.283203 30.525391 C 51.314589 30.615983 52.199219 31.158203 52.199219 31.158203 C 52.199219 31.158203 51.182411 29.591289 50.800781 28.742188 C 50.625205 28.351542 50.422793 27.740799 50.265625 27.230469 L 50.199219 15.164062 C 50.199219 15.164062 50.086026 15 50 15 z
          itemStyle:
            color: =props.needleColor
            shadowBlur: 2
            shadowColor: "#000a"
            shadowOffsetX: 2
            shadowOffsetY: 2
          keepAspect: true
          length: 150%
          width: 15%
          offsetCenter:
            - 0
            - 53%
        title:
          show: =props.primary=="inhg"?true:false
          color: =props.printColor
          offsetCenter:
            - 0
            - 35%
        tooltip:
          formatter: "=p=>'<b>'+p.value.toFixed(3)+(items[props.item].state.split(' ').length > 1 ? ' '+items[props.item].state.split(' ')[1] : '')+'</b>'"
        type: gauge
    - component: oh-data-series
      config:
        id: sec_mbar
        anchor:
          show: false;
        axisLabel:
          show: =props.secondary=="mbar"?true:false
          color: =props.printColor
          distance: 10
          fontSize: =props.secondaryFontSize
          fontWeight: 100
          rotate: tangential
        axisLine:
          show: =props.secondary=="mbar"?true:false
          lineStyle:
            color:
              - - 1
                - =props.printColor
            width: 1
        max: 1070
        min: 950
        startAngle: 225
        endAngle: -45
        splitNumber: 12
        radius: 57%
        axisTick:
          show: =props.secondary=="mbar"?true:false
          splitNumber: 5
          distance: 0
          length: 7%
          lineStyle:
            color: =props.printColor
        splitLine:
          show: =props.secondary=="mbar"?true:false
          distance: 0
          length: 7%
          lineStyle:
            color: =props.printColor
            width: 2
        detail:
          show: false
        pointer:
          show: false
        title:
          show: false
        type: gauge
    - component: oh-data-series
      config:
        id: sec_pascal
        anchor:
          show: false;
        axisLabel:
          show: =props.secondary=="pascal"?true:false
          color: =props.printColor
          distance: 10
          fontSize: =props.secondaryFontSize-2
          fontWeight: 100
          rotate: tangential
        axisLine:
          show: =props.secondary=="pascal"?true:false
          lineStyle:
            color:
              - - 1
                - =props.printColor
            width: 1
        max: 107000
        min: 95000
        startAngle: 225
        endAngle: -45
        splitNumber: 12
        radius: 57%
        axisTick:
          show: =props.secondary=="pascal"?true:false
          splitNumber: 5
          distance: 0
          length: 7%
          lineStyle:
            color: =props.printColor
        splitLine:
          show: =props.secondary=="pascal"?true:false
          distance: 0
          length: 7%
          lineStyle:
            color: =props.printColor
            width: 2
        detail:
          show: false
        pointer:
          show: false
        title:
          show: false
        type: gauge
    - component: oh-data-series
      config:
        id: sec_inhg
        anchor:
          show: false;
        axisLabel:
          show: =props.secondary=="inhg"?true:false
          color: =props.printColor
          distance: 10
          fontSize: =props.secondaryFontSize
          fontWeight: 100
          rotate: tangential
        axisLine:
          show: =props.secondary=="inhg"?true:false
          lineStyle:
            color:
              - - 1
                - =props.printColor
            width: 1
        max: 31.5
        min: 28
        startAngle: 229.0725
        endAngle: -37.5975
        splitNumber: 7
        radius: 57%
        axisTick:
          show: =props.secondary=="inhg"?true:false
          distance: 0
          length: 7%
          splitNumber: 5
          lineStyle:
            color: =props.printColor
        splitLine:
          show: =props.secondary=="inhg"?true:false
          distance: 0
          length: 7%
          lineStyle:
            color: =props.printColor
            width: 2
        detail:
          show: false
        pointer:
          show: false
        title:
          show: false
        type: gauge
    - component: oh-data-series
      config:
        id: sec_psi
        anchor:
          show: false;
        axisLabel:
          show: =props.secondary=="psi"?true:false
          color: =props.printColor
          distance: 10
          fontSize: =props.secondaryFontSize
          fontWeight: 100
          rotate: tangential
        axisLine:
          show: =props.secondary=="psi"?true:false
          lineStyle:
            color:
              - - 1
                - =props.printColor
            width: 1
        max: 15.5
        min: 13.8
        startAngle: 221.67
        endAngle: -42.0525
        splitNumber: 8.5
        radius: 57%
        axisTick:
          show: =props.secondary=="psi"?true:false
          splitNumber: 4
          distance: 0
          length: 7%
          lineStyle:
            color: =props.printColor
        splitLine:
          show: =props.secondary=="psi"?true:false
          distance: 0
          length: 7%
          lineStyle:
            color: =props.printColor
            width: 2
        detail:
          show: false
        pointer:
          show: false
        title:
          show: false
        type: gauge
    - component: oh-data-series
      config:
        id: sec_mmhg
        anchor:
          show: false;
        axisLabel:
          show: =props.secondary=="mmhg"?true:false
          color: =props.printColor
          distance: 10
          fontSize: =props.secondaryFontSize
          fontWeight: 100
          rotate: tangential
        axisLine:
          show: =props.secondary=="mmhg"?true:false
          lineStyle:
            color:
              - - 1
                - =props.printColor
            width: 1
        max: 800
        min: 710
        startAngle: 232.6725
        endAngle: -37.305
        splitNumber: 9
        radius: 57%
        axisTick:
          show: =props.secondary=="mmhg"?true:false
          splitNumber: 5
          distance: 0
          length: 7%
          lineStyle:
            color: =props.printColor
        splitLine:
          show: =props.secondary=="mmhg"?true:false
          distance: 0
          length: 7%
          lineStyle:
            color: =props.printColor
            width: 2
        detail:
          show: false
        pointer:
          show: false
        title:
          show: false
        type: gauge
  tooltip:
    - component: oh-chart-tooltip
      config:
        show: true
7 Likes