Displaying Array Data in Histograms

Setting element properties for histograms

 

Requirements

Defining alarm colors for the histogram

The visualization shows a histogram with bars all the same color (example: green). Now you want the bars with values less than 30, for example, to be displayed in another color (example: red).

  1. Click the element property Colors ‣ Alarm color .

  2. Specify the limiting value in Alarm value above or below which the bars should be displayed in another color.

  3. Select More from the drop-down list in Alarm condition if all values greater than the Alarm value should be displayed in another color. Otherwise, select Less.

  4. Select an Alarm color (example: Red).

  5. Click Build ‣ Build .

  6. If the project has been compiled without errors, then click Online ‣ Login and start the application by clicking Debug ‣ Start .

    ⇒ In the example histogram, all bars with values greater than 30 are displayed in red.

    _visu_img_histogram_alarm.png

See also