Skip to main content

NightWatchman Enterprise 7.3

Configuring tile presentation elements

To use any of the tile presentation elements you must include a reference to its schema in the DashboardTile element as follows:

  • Standard tables – http://www.1e.com/2009/StandardTable.xsd

  • Standard paragraphs – http://www.1e.com/2009/StandardParagraph.xsd

  • Standard charts – http://www.1e.com/2009/StandardChart.xsd

  • Standard single vales – http://www.1e.com/2009/StandardSingleValue.xsd

Standard tables

When using the table presentation element, include the following namespace definition in the DashboardTile element. The table definition in the presentation section uses the table object name:

xmlns:table="http://www.1e.com/2009/StandardTable.xsd"

The outer element for a table definition is <table:StandardTable></table:StandardTable> all other atrributes must be placed inside this. The columns for the table definition must be placed within <table:ColumnCollection></table:ColumnCollection>. The following attributes can be set for ColumnCollection:

Attributes

Default value

Notes

ShowColumnHeader

Determines whether a header row is displayed for the table. Values are:

  • true – displays header row

  • false – hides header row

CommandIdentifier

The command to use to populate the table.

BackgroundColor

Background color for the table in XAML color format:

#OPRRGGBB

where OP sets the color's opacity, RR, GG and BB sets the red, green and blue values respectively.

For example, to set the background colour to green:

BackgroundColor="FF00FF00"

Inside <table:ColumnCollection>, add the <table:Column> attributes that define the actual contents of the table. The following attributes can be set for Column:

Attributes

Default value

Notes

Type

Sets the format of the contents. See Enterprise View Image Resources for a list build-in images and Supported HTML 4 tags for further details. Values are:

  • string – contents of the column are set using a text string. Text substitutions can be used to set parameters retrieved from commands.

  • image – contents of the column should refer to an image name that will be displayed in the column.

  • html – contents of the column should be defined in HTML format. Enterprise View only supports a limited subset of HTML 4

Width

Width for the column.

Title

Column title. This can be used to set the title directly instead of defining TitleCommandIdentifier and TitleBinding.

Note

Title takes precedence over TitleBinding.

TitleCommandIdentifier

Command to be used to determine the column's title.

TitleBinding

Binding from the command set in TitleCommandIdentifier to be used as the column's title.

TitleHeight

Row height. Title also sets the font size to be used for the header row.

ContentHeight

Height for the contents rows for the column.

Standard paragraphs

You can place a single standard paragraph in either the StandardTable or the StandardChart element. It must be placed inside the element but outside the ColumnCollection or SeriesCollection. The paragraph uses a limited subset of HTML 4 for formatting the text. See Supported HTML 4 tags for further details.

Standard charts

When using the table presentation element you could include the following namespace definition in the DashboardTile element, the table definition in the presentation section uses the table object name:

xmlns:chart="http://www.1e.com/2009/StandardChart.xsd"

The outer element for a chart definition is <chart:StandardChart></chart:StandardChart> all other chart attribute are placed within this. The following attributes can be set for StandardChart:

Attributes

Default value

Description

AxisYTitleCommandIdentifier

This must be set to a command that will retrieve the data for the chart.

LegendEnabled

Shows or hides the legend identifying each data series on a chart. Values are:

  • true

  • false

AxisXTitle

Text for the X Axis title. AxisXTitle overrides AxisXTitleCommandIdentifier and AxisXTitleCommandBinding .

AxisXTitleCommandIdentifier

The X Axis title. Used in conjunction with AxisXTitleCommandBinding .

AxisXTitleCommandBinding

The X Axis title. AxisXTitleCommandBinding is retrieved from the results of AxisXTitleCommandIdentifier .

AxisYTitle

The Y Axis title. AxisYTitle overrides AxisYTitleCommandIdentifier and AxisYTitleCommandBinding .

AxisYTitleCommandIdentifier

The Y Axis title. Used in conjunction with AxisYTitleCommandBinding .

AxisYTitleCommandBinding

The Y Axis title. AxisYTitleCommandBinding is retrieved from the results of AxisYTitleCommandIdentifier .

All the data series required for the chart should be placed inside the <chart:SeriesCollection></chart:SeriesCollection> element. Each data series is defined using <chart:Series></chart:Series>. The following attributes can be set for Series:

Attributes

Default value

Description

AxisXFormatString

The format for AxisXLabelBinding .

AxisXLabelBinding

Must be bound to a value returned by CommandIdentifier .

CommandIdentifier

Sets a command that will retrieve the data for the series.

Color

The color for the chart series.

YValueBinding

Must be bound to a value returned by CommandIdentifier .

YValueFormatString

The format for the YValueBinding .

Type

Must be set to the type of the chart to be used to display the series.

LabelEnabled

Shows or hides the label. Values are:

  • true – shows the label

  • false – hides the label

LegendText

Text for the series in the chart legend.

Name

Name for the series.

Chart combinations

It is possible to combine different chart types by using a different chart for each data series. This is subject to the following restrictions:

  • The Pie and Doughnut charts cannot be combined with each other or any other chart

  • The Bar, StackedBar and StackedBar100 can be combined with each other but not with any other chart type

Chart types

The following table shows the chart types available for use with Enterprise View. The chart names are case sensitive so you need to be careful with capitalization of the chart names when adding them to the tile definitions.

Chart type

Chart

Notes

Area

230733728.png

Displays an area chart. This is a line chart that is filled to the X axis.

Bar

230733729.png

Displays a bar chart, where the y value for each value of x is shown as a horizontal bar.

Column

230733730.png

Displays a column chart, where the y value for each value of x is shown as a vertical bar.

Doughnut

230733731.png

Displays a doughnut chart, where the y value for each distinct value of x is displayed as a sector of a ring. This shows the proportion between the distinct values.

Line

230733732.png

Displays a line chart, where the y value is plotted against each distinct value for x.

Pie

>

230733734.png

Displays a pie chart, where the y value for each distinct value of x is displayed as a sector of a circle. This shows the proportion between the distinct values.

Point

230733733.png

Displays a point chart, where the y value is plotted against each distinct value for x.

SectionFunnel

230733735.png

A section funnel chart is displayed as an inverted pyramid, where the shape of the chart is fixed and the different values are shown as layers inside. This allows the relative sizes of the values to be determined whilst indicating a general importance relationship between the parameters shown at the top and the ones at the bottom.

StackedArea

230733736.png

The stacked area chart shows each set of y values as area charts stacked above one another. This allows easy visualization of the proportions between the values and how these proportions change with the corresponding x values.

StackedArea100

230733737.png

The stacked area 100 chart shows a stacked area chart where each set of y values is adjusted to show the percentage relationship between the individual values.

StackedBar

230733738.png

The stacked bar chart shows each set of y values as bars stacked beside one another. This allows easy visualization of the proportions between the values and how these proportions change with the corresponding x values.

StackedBar100

230733740.png

The stacked bar 100 chart shows a stacked bar chart where each set of y values is adjusted to show the percentage relationship between the individual values.

StackedColumn

230733739.png

The stacked bar chart shows each set of y values as bars stacked beside one another. This allows easy visualization of the proportions between the values and how these proportions change with the corresponding x values.

StackedColumn100

230733741.png

The stacked bar 100 chart shows a stacked bar chart where each set of y values is adjusted to show the percentage relationship between the individual values.

StreamLineFunnel

230733742.png
Standard single value

When using the standard single value presentation element you would include the following namespace definition in the DashboardTile element, the definition in the presentation section would subsequently use the value object name:

xmlns:value="http://www.1e.com/2009/StandardSingleValue.xsd"

The only standard single value type currently supported is the Gauge. This takes a single data binding and displays the value on a speedometer. Gauges require that the Activator attribute in the DashboardTile element is set to GaugeActivator.

Single value definitions

The tag for a single value definition is <value:StandardSingleValue></value:StandardSingleValue>. The following attributes can be set in the StandardSingleValue tag:

Attributes

Notes

CommandIdentifier

The binding for the gauge.

Binding

Parameter from the command used to set the value for the gauge.

Type

Currently only the Gauge type is supported.

MinimumValue

Minimum value for the gauge.

MaximumValue

Maximum value for the gauge.

Unit

Text for the units description that appears in the center of the gauge.

Precision

Precision for the digit display.