Demorize Digital Signage Software

17.1.5. Bar Chart

This object displays a bar or line chart. The chart data that is displayed in the chart is dynamic and is provided by a data source. This allows for real-time display of chart data that is updated while the chart is shown. When the object is first created, it is not showing any chart since there is no data source set.

Chart Properties

  • ChartArea - The rectangle in the chart where the chart area is shown. The values specify a percentage value of the total size of the entire chart object.
  • DataSource - The data source item from which the chart data is retrieved. This must be set to a valid data source item in order for any chart to be displayed.
  • DrawingType - Defines the type of chart to draw.
  • Fields - This property is a collection of the settings for each of the data sets. This is where you set the colors that the chart data is drawn in.
  • FirstFieldIsHeading - Set this property to True if the first field in the data defines the chart axis texts.
  • Font - The font that is used for text in the chart.
  • Layout - Tells the orientation of the chart. The layout can either be horizontal or vertical.
  • LegendArea - The rectangle in the chart where the legend is shown. The values specify a percentage value of the total size of the entire chart object.
  • LegendFont - The font that is use for the text in the legend.
  • NumberOfFieldsAsLines - The number of fields that are drawn as lines when the drawing type is set to LinesAndBars.
  • RecordSpacing - The spacing between the records when drawing bars.