Charts for Single-Version Data Visualisation

Optimised Pie Chart

The Optimised Pie chart is a pie chart that takes several measure as input. It simply displays a pie chart with the values previously computed.

Optimised Pie Chart

<chart type="OptimizedPie" 
    id="OPTIMIZED_PIE_ID" 
    decimals="2">
  <measure label="Source">SLOC_ONLY</measure>
  <measure label="Comment">CLOC_ONLY</measure>
  <measure label="Mixed">MLOC</measure>
  <measure color="239,228,176" label="Blank">BLAN</measure>
</chart>

The Optimised Pie requires a minimum of two measure elements and supports the following attributes:

  • decimals (optional, default: 0) is the number of decimals places to be used for displaying values

  • displayEmptyValue (optional, default: false) specifies whether categories with no value or a value of 0 are included on the chart

Optimised Bar Chart

The Optimised Bar chart is a bar chart that takes several measure as input. It simply displays a bar chart with the values previously computed.

Optimised Bar Chart

<chart type="OptimizedBar" 
    id="OPTIMIZED_BAR_ID" 
    asPercentage="true">
  <measure color="0,81,0" label="A">A_FILE</measure>
  <measure color="3,127,3" label="B">B_FILE</measure>
  <measure color="133,182,2" label="C">C_FILE</measure>
  <measure color="255,255,0" label="D">D_FILE</measure>
  <measure color="255,150,0" label="E">E_FILE</measure>
  <measure color="255,80,0" label="F">F_FILE</measure>
  <measure color="255,0,0" label="G">G_FILE</measure>
</chart>

The Optimised Bar requires a minimum of two measure elements and supports the following attributes:

  • decimals (optional, default: 0) is the number of decimals places to be used for displaying values

  • displayEmptyValue (optional, default: false) specifies whether categories with no value or a value of 0 are included on the chart

  • asPercentage (optional, default: false) specifies whether the values are displayed as real values or percentages

Key Performance Indicator

This special chart is used to represent the level of the selected artefact in reference to an indicator.

Key Performance Indicator

The following is an example of the syntax used for defining a KPI chart:

<chart type="KPI" id="KEY_PERFORMANCE_INDICATOR" 
indicatorId="MAINTAINABILITY" />

The following attributes are allowed for the KPI chart tag:

Dial Chart

The Dial chart represents the value of the measure associated to an indicator against a backdrop of the scale associated to this indicator. The Dial chart requires one indicator as a sub-element.

Dial Chart

<chart type="Dial" id="DIAL_LINEAR_ID"
				decimals="0"
				majorTickIncrement="8"
				minorTickCount="4">
  <indicator>VALUE_LINEAR</indicator>
</chart>

The Dial chart element may have the following attributes:

  • decimals (optional) is the number of decimal places used to display the data.

  • majorTickIncrement (optional) is the increment between two major ticks on the dial.

  • minorTickCount (optional) is the number of ticks between two major increments.

The majorTickIncrement and minorTickCount parameters only need to be used if you want to completely control the appearance of the chart. Generally, they can be omitted, as the defaults should be smart enough to show what you need.

Tip

You can control the bounds of the axis of this chart using the datBounds attributs on each metric, as explained in the section called “Common Attributes for measure and indicator.

The indicator element supports excluding certain levels from the chart by using the excludeLevels attribute. For example:

<indicator excludeLevels="LEVELA;LEVELB">LEVEL</indicator>

Meter Chart

The Meter chart represents the value of the measure associated to an indicator against a backdrop of the scale associated to this indicator.

Meter Chart

<chart type="Meter" id="METER_ID"
				decimals="0"
				majorTickIncrement="400">
  <indicator>VALUE_LINEAR</indicator>
</chart>

The Meter chart element may have the following attributes:

  • decimals (optional) is the number of decimal places used to display the data.

  • majorTickIncrement (optional) is the increment between two major ticks on the meter. This can be generally be omitted, as the defaults should be smart enough to show what you need

The Meter chart takes only one indicator as a sub-element.

Tip

You can control the bounds of the axis of this chart using the datBounds attributs on each metric, as explained in the section called “Common Attributes for measure and indicator.

The indicator element supports excluding certain levels from the chart by using the excludeLevels attribute. For example:

<indicator excludeLevels="LEVELA;LEVELB">LEVEL</indicator>

Kiviat Chart

The Kiviat chart displays three or more indicators in a radar-type chart.

Kiviat Chart

The Kiviat chart takes a set of at least three indicators as sub-elements.

<chart type="Kiviat" 
		id="KIVIAT_ID" 
		isInverted="true">
	<indicator label="My testability" 
	              objective="LEVELC">TESTABILITY</indicator>
	<indicator objective="LEVELC">STABILITY</indicator>
	<indicator objective="LEVELC">CHANGEABILITY</indicator>
	<indicator objective="LEVELD">ANALYSABILITY</indicator>
</chart>

The attributes allowed for the chart element are the following:

  • isInverted (optional, default: true) when set to true, places the highest rank (usually the worst mark) at the centre of the Kiviat instead of on the outside.

  • useStandardLabelPosition (default: false) when set to true, the labels are displayed in a way that they won't be obstruct the chart, but they may be truncated.

Note

The indicator element accepts a specific, optional objective attribute that draws a dotted line at the specified level representing the objective line.

The objective attribute accepts:

  • A scale level (LEVELA)

  • An indicator ID (TESTABILITY). In this case, both indicators must use the same scale.

  • A computation (LC+100). The computed value is then used together with the scale of the indicator to define the level to display.

Note that only a scale level is accepted for Kiviat charts at analysis model level.

SQALE Pyramid Chart

This chart represents the SQALE Pyramid, representing a minimum of two different measures or indicators as a matrix.

SQALE Pyramid Chart

<chart type="SQALEPyramid" id="MAINTAINABILITY_PYRAMID" decimals="0">
  <measure label="My Testability" >TESTABILITY</measure>
  <measure>STABILITY</measure>
  <measure>CHANGEABILITY</measure>
  <measure>ANALYSABILITY</measure>    
</chart>

Histogram Chart

A typical Histogram that shows the repartition of a value for the children of the selected artefact It requires one measure element.

Histogram Chart

<chart type="Histogram" id="HISTOGRAM_ID" targetArtefactTypes="FILE"
  nbBars="10" >
  <measure color="242,205,57" >SUMLC</measure>
</chart>

The chart element may have the following attributes:

  • targetArtefactTypes allows to filter descendants according to their type. You can use one or more types. Concrete and abstract types are supported, so it is possible to use an alias, as described in the section called “Artefact Types”. There are some limitations to what is supported:

    1. Measures associated to an indicator must have the same measureId for all types and be of the same kind (base or derived)

    2. For Stacked Bar Chart, Simple Temporal Evolution Stacked Bar Chart, Simple Pie and Simple Bar the scale associated to the indicator must be the same for be the same for all types

  • nbBars sets the number of bars desired in the chart.

Tip

You can control the bounds of the axis of this chart using the datBounds attributs on each metric, as explained in the section called “Common Attributes for measure and indicator.

Y-Cloud Chart

The Y-Cloud chart is a visual representation of the values of a measure or indicator for the children of the selected artefact. For each child of the requested type, a dot is drawn with the value found for the selected measure. The chart requires one indicator element.

Y-Cloud Chart

<chart type="YCloud" id="CLOUD_ID" 
  targetArtefactTypes="FILE">
  <indicator color="0,0,0" label="LC">LC</indicator>
</chart>

The chart element may have the following attributes:

  • targetArtefactTypes allows to filter descendants according to their type. You can use one or more types. Concrete and abstract types are supported, so it is possible to use an alias, as described in the section called “Artefact Types”. There are some limitations to what is supported:

    1. Measures associated to an indicator must have the same measureId for all types and be of the same kind (base or derived)

    2. For Stacked Bar Chart, Simple Temporal Evolution Stacked Bar Chart, Simple Pie and Simple Bar the scale associated to the indicator must be the same for be the same for all types

Treemap

The Treemap offers a graphical representation of child artefacts as a set of tiled rectangles. The Treemap requires one measure to define the size of the tiles and accepts a colorFromIndicator attribute to pick the colors of the tiles. Tiles are generated from largest to smallest, and from top left to bottom right. Clicking a tile takes you to the dashboard of the corresponding artefact.

Treemap

<chart id="TREEMAP" type="TreeMap"
  colorFromIndicator="MAINTAINABILITY"
  onlyDirectChildren="false" targetArtefactTypes="FOLDER">
  <measure>SUMLC</measure>
</chart>

This chart also accepts a filterMeasure element, which allows refining which artefacts are included on the chart. When drawing a chart, Squore checks if the metric specified is within the defined bounds for the artefact, in order to know if it should be included in or excluded from the chart.

You can use the filterMeasure (with a mandatory dataBounds attribute) as follows:

<chart id="SOME_CHART" ...>
  <measure>METRIC_A</measure>
  <measure>METRIC_B</measure>
  <filterMeasure dataBounds="[50;100]">METRIC_C</filterMeasure>
</chart>

In the example above, the chart will include the artefact only if METRIC_C is between 50 and 100.

Note

Filtering artefacts on charts is not possible at model-level.

The chart tag accepts the following attributes:

  • targetArtefactTypes allows to filter descendants according to their type. You can use one or more types. Concrete and abstract types are supported, so it is possible to use an alias, as described in the section called “Artefact Types”. There are some limitations to what is supported:

    1. Measures associated to an indicator must have the same measureId for all types and be of the same kind (base or derived)

    2. For Stacked Bar Chart, Simple Temporal Evolution Stacked Bar Chart, Simple Pie and Simple Bar the scale associated to the indicator must be the same for be the same for all types

  • onlyDirectChildren (optional, default: true) includes artefacts that are direct children of the current artefact in the chart when set to true, or all descendants of the current artefact when set to false.

  • colorFromIndicator (optional) uses an indicator's colour scale to assign a colour to each drawn tile.

  • defaultColor (optional, default:RANDOM colour based on artefact name) uses an indicator's colour scale to assign a colour to each drawn tile. [colour syntax]

Tip

This chart can be used at model-level. In this case, the only value allowed for targetArtefactTypes is APPLICATION. The chart displays the value of the specified metric for the last version of all projects in this model.

Artefact Pie

The Artefact Pie offers a graphical representation of the values of a specific measure for each child artefact in a pie chart. The Artefact Pie requires one measure to define the size of the pie slice and accepts a colorFromIndicator attribute to pick the colors of the pie slices based on a scale. Clicking a pie slice takes you to the dashboard of the corresponding artefact.

Artefact Pie

<chart id="ARTEFACT_PIE_FILE_DESCENDANTS" type="ArtefactPie"
  colorFromIndicator="MAINTAINABILITY"
  onlyDirectChildren="false" targetArtefactTypes="FILE">
  <measure>SUMLC</measure>
</chart>

This chart also accepts a filterMeasure element, which allows refining which artefacts are included on the chart. When drawing a chart, Squore checks if the metric specified is within the defined bounds for the artefact, in order to know if it should be included in or excluded from the chart.

You can use the filterMeasure (with a mandatory dataBounds attribute) as follows:

<chart id="SOME_CHART" ...>
  <measure>METRIC_A</measure>
  <measure>METRIC_B</measure>
  <filterMeasure dataBounds="[50;100]">METRIC_C</filterMeasure>
</chart>

In the example above, the chart will include the artefact only if METRIC_C is between 50 and 100.

Note

Filtering artefacts on charts is not possible at model-level.

The chart tag accepts the following attributes:

  • targetArtefactTypes allows to filter descendants according to their type. You can use one or more types. Concrete and abstract types are supported, so it is possible to use an alias, as described in the section called “Artefact Types”. There are some limitations to what is supported:

    1. Measures associated to an indicator must have the same measureId for all types and be of the same kind (base or derived)

    2. For Stacked Bar Chart, Simple Temporal Evolution Stacked Bar Chart, Simple Pie and Simple Bar the scale associated to the indicator must be the same for be the same for all types

  • onlyDirectChildren (optional, default: true) includes artefacts that are direct children of the current artefact in the chart when set to true, or all descendants of the current artefact when set to false.

  • colorFromIndicator (optional) uses an indicator's colour scale to assign a colour to each drawn pie slice.

Tip

This chart can be used at model-level. In this case, the only value allowed for targetArtefactTypes is APPLICATION. The chart displays the value of the specified metric for the last version of all projects in this model.

X/Y-Cloud Chart

The X/Y-Cloud chart is a visual representation of the values of two measures or indicators for the children of the selected artefact. For each child of the requested type, a dot is drawn with the value found for the selected measure.

X/Y-Cloud Chart

<chart type="XYCloud" id="XYCLOUD_ID" 
  targetArtefactTypes="FILE" colorFromIndicator="COMPLEXITY" 
  xLabel="Cyclomatic Complexity" 
  yLabel="Non Conformity Count"
  showPolynomialRegression="true" coeff="1"
  colorFromIndicator="LEVEL"
  miniShapeWidth="4" shapeWidth="6"
  shape="CIRCLE">
  <xmeasure>TESTABILITY</xmeasure>
  <ymeasure>STABILITY</ymeasure>
</chart>

The chart element may have the following attributes:

  • targetArtefactTypes allows to filter descendants according to their type. You can use one or more types. Concrete and abstract types are supported, so it is possible to use an alias, as described in the section called “Artefact Types”. There are some limitations to what is supported:

    1. Measures associated to an indicator must have the same measureId for all types and be of the same kind (base or derived)

    2. For Stacked Bar Chart, Simple Temporal Evolution Stacked Bar Chart, Simple Pie and Simple Bar the scale associated to the indicator must be the same for be the same for all types

  • showPolynomialRegression (optional, default: true) Whether the polynomial regression is drawn (true) or not drawn (false) on the chart.

  • coeff (optional, default: 1) the degree of the drawn polynomial. Supported values are:

    • 1 for linear

    • 2 for quadratic

    • 3 for cubic

  • colorFromIndicator (optional, default: none) sets the colour of the dot to the colour of the level of the specified indicator.

  • shape (optional, default: SQUARE) defines the shape of the points on the chart. The supported values are:

    • SQUARE

    • CIRCLE

    • DIAMOND

    • UP_TRIANGLE

    • DOWN_TRIANGLE

    • RIGHT_TRIANGLE

    • LEFT_TRIANGLE

    • HORIZONTAL_RECTANGLE

    • VERTICAL_RECTANGLE

    • HORIZONTAL_ELLIPSE

    • VERTICAL_ELLIPSE

  • shapeWidth (optional, default: 4.0) defines the width of the point on the maximised chart.

  • miniShapeWidth (optional, default: 2.0) defines the width of the point on the chart thumbnail.

The chart takes one xmeasure element and one ymeasure with the following attributes.

  • label (optional) is the label used for the axis associated to the indicator. If omitted, the indicator's name is used by default.

The Quadrant Chart

The Quadrant chart displays information about the descendants of the current artefact. Three measures are required to construct the chart: one for the X-axis, one for the Y-axis one for the size of the bubbles. The chart also allows to set markers to define coloured areas.

Quadrant Chart

<chart type="quadrant" 
 id="NON_CONFORMITY_DENSITY_VS_COMPLEXITY" 
 targetArtefactTypes="FILE"
 xMin="0" xMax="50000" 
 yMin="0" yMax="100"
 onlyDirectChildren="false" >
  <xmeasure color="#FF56CA">SUMVG</xmeasure>
  <ymeasure>NCD</ymeasure>
 <zmeasure>FUNC</zmeasure>
  <markers>
    <marker value="100" color="255,50,0" 
     alpha="50" isVertical="false" />
    <marker value="100" color="255,50,0" 
     alpha="50" isVertical="true" />
  </markers>
</chart>

This chart also accepts a filterMeasure element, which allows refining which artefacts are included on the chart. When drawing a chart, Squore checks if the metric specified is within the defined bounds for the artefact, in order to know if it should be included in or excluded from the chart.

You can use the filterMeasure (with a mandatory dataBounds attribute) as follows:

<chart id="SOME_CHART" ...>
  <measure>METRIC_A</measure>
  <measure>METRIC_B</measure>
  <filterMeasure dataBounds="[50;100]">METRIC_C</filterMeasure>
</chart>

In the example above, the chart will include the artefact only if METRIC_C is between 50 and 100.

Note

Filtering artefacts on charts is not possible at model-level.

The chart element may have the following attributes:

  • targetArtefactTypes allows to filter descendants according to their type. You can use one or more types. Concrete and abstract types are supported, so it is possible to use an alias, as described in the section called “Artefact Types”. There are some limitations to what is supported:

    1. Measures associated to an indicator must have the same measureId for all types and be of the same kind (base or derived)

    2. For Stacked Bar Chart, Simple Temporal Evolution Stacked Bar Chart, Simple Pie and Simple Bar the scale associated to the indicator must be the same for be the same for all types

  • onlyDirectChildren (optional, default: true) includes artefacts that are direct children of the current artefact in the chart when set to true, or all descendants of the current artefact when set to false.

  • colorFromIndicator (optional) sets the colour of the bubble to the colour of the level of the specified indicator.

The chart requires the following sub-elements:

  • xmeasure is the measure used on the X-axis.

  • ymeasure is the measure used on the y-axis.

  • zmeasure is the measure used to scale the bubbles respective to each other.

Simple Pie Chart

The Simple Pie chart presents the aggregation of the different ratings found in all the children of the selected artefact.

Simple Pie Chart

<chart type="SimplePie" id="SIMPLE_PIE_ID"
  targetArtefactTypes="FILE" decimals="2">
  <indicator>LEVEL</indicator>
</chart>

The Simple Pie chart element may have the following attributes:

  • targetArtefactTypes allows to filter descendants according to their type. You can use one or more types. Concrete and abstract types are supported, so it is possible to use an alias, as described in the section called “Artefact Types”. There are some limitations to what is supported:

    1. Measures associated to an indicator must have the same measureId for all types and be of the same kind (base or derived)

    2. For Stacked Bar Chart, Simple Temporal Evolution Stacked Bar Chart, Simple Pie and Simple Bar the scale associated to the indicator must be the same for be the same for all types

  • displayEmptyValue (optional, default: false) specifies whether categories with no value or a value of 0 are included on the chart

  • decimals (optional, default: 0) is the number of decimals places to be used for displaying values

The Simple Pie chart takes only one indicator or info as a sub-element.

Tip

For more details about how to use textual information, refer to the section called “Using Textual Information From Artefacts”

The indicator element supports excluding certain levels from the chart by using the excludeLevels attribute. For example:

<indicator excludeLevels="LEVELA;LEVELB">LEVEL</indicator>

Note: This chart is equivalent to using an Optimised Pie Chart with the definition shown below. The pie chart is optimised because the measures it uses have already been computed during the analysis and do not need to be calculated on the fly.

<chart type="OptimizedPie" decimals="2" >
	<measure color="0,81,0" label="A">A_FILE</measure>
	<measure color="3,127,3" label="B">B_FILE</measure>
	<measure color="133,182,2" label="C">C_FILE</measure>
	<measure color="255,255,0" label="D">D_FILE</measure>
	<measure color="255,150,0" label="E">E_FILE</measure>
	<measure color="255,80,0" label="F">F_FILE</measure>
	<measure color="255,0,0" label="G">G_FILE</measure>
</chart>

Simple Bar Chart

The Simple Bar chart presents the aggregation of the different ratings found in all the children of the selected artefact as a histogram.

Simple Bar Chart

<chart type="SimpleBar" id="SIMPLE_BAR_ID"
  targetArtefactTypes="FILE" decimals="2">
  <indicator>LEVEL</indicator>
</chart>

The Simple Bar chart element may have the following attributes:

  • targetArtefactTypes allows to filter descendants according to their type. You can use one or more types. Concrete and abstract types are supported, so it is possible to use an alias, as described in the section called “Artefact Types”. There are some limitations to what is supported:

    1. Measures associated to an indicator must have the same measureId for all types and be of the same kind (base or derived)

    2. For Stacked Bar Chart, Simple Temporal Evolution Stacked Bar Chart, Simple Pie and Simple Bar the scale associated to the indicator must be the same for be the same for all types

  • decimals (optional, default: 0) is the number of decimals places to be used for displaying values

  • displayEmptyValue (optional, default: false) specifies whether categories with no value or a value of 0 are included on the chart

  • asPercentage (optional, default: false) specifies whether the values are displayed as real values or percentages

The Simple Bar chart takes only one indicator or info as a sub-element.

Tip

For more details about how to use textual information, refer to the section called “Using Textual Information From Artefacts”

The indicator element supports hiding or excluding certain levels from the chart by using the hideLevels excludeLevels attribute. The difference between hiding and excluding a level is that hidden levels are taken into account when displaying percentages while excluded levels are not. For example:

<indicator excludeLevels="UNKNOWN">LEVEL</indicator>

or

<indicator hideLevels="LEVELA;LEVELB">LEVEL</indicator>

Stacked Bar Chart

The Stacked Bar crosses the performance levels of two indicators for the children of the selected artefact along two axes.

Stacked Bar chart

<chart type="StackedBar" id="STACKED_BAR_ID" 
  targetArtefactTypes="FILE" >
  <indicator>TESTABILITY</indicator>
  <indicator>ANALISABILITY</indicator>
</chart>

The chart element may have the following attributes:

  • targetArtefactTypes allows to filter descendants according to their type. You can use one or more types. Concrete and abstract types are supported, so it is possible to use an alias, as described in the section called “Artefact Types”. There are some limitations to what is supported:

    1. Measures associated to an indicator must have the same measureId for all types and be of the same kind (base or derived)

    2. For Stacked Bar Chart, Simple Temporal Evolution Stacked Bar Chart, Simple Pie and Simple Bar the scale associated to the indicator must be the same for be the same for all types

  • asPercentage (default: false) displays the values as percentages when set to true.

The chart support two indicator elements.

The indicator element supports hiding or excluding certain levels from the chart by using the hideLevels excludeLevels attribute. The difference between hiding and excluding a level is that hidden levels are taken into account when displaying percentages while excluded levels are not. For example:

<indicator excludeLevels="UNKNOWN">LEVEL</indicator>

or

<indicator hideLevels="LEVELA;LEVELB">LEVEL</indicator>

Artefact Series

The Artefact Series chart displays one or more metrics from descendent artefacts. The measure representation is defined by a renderer attribute (as explained in the section called “Datasets” ). The chart also allows clicking on an artefact to display its dashboard.

Artefact Series showing test statistics for child requirements

<chart type="ArtefactSeries" id="TEST_CODE_STATUS" 
  targetArtefactTypes="FILE;REQUIREMENT"
  onlyDirectChildren="false"
  inverted="true" orderByMeasure="NUM_FAILING_TESTS" 
  renderer="BAR" orientation="HORIZONTAL">
  <measure color="#98AFC7" alpha="200">NUM_TESTS_CODE</measure>
  <measure color="#54C571" alpha="200">NUM_PASSING_TESTS</measure>
  <measure color="#DC381F" alpha="200">NUM_FAILING_TESTS</measure>
</chart>

The Artefact Series can also be used to draw a stacked bar chart for child artefacts and include a line via the use of several datasets, as shown below:

An alternate representation of the same data in an Artefact Series chart

<chart type="ArtefactSeries" id="TEST_CODE_STATUS" 
  targetArtefactTypes="FILE;REQUIREMENT"
  onlyDirectChildren="false"
  inverted="true" orderByMeasure="NUM_FAILING_TESTS" 
  orientation="VERTICAL">
  <dataset renderer="STACKEDBAR">
  	<measure color="#DC381F" alpha="200">NUM_FAILING_TESTS</measure>
  	<measure color="#54C571" alpha="200">NUM_PASSING_TESTS</measure>
  </dataset>
  <dataset renderer="LINE" rangeAxis="TOTAL">
  	<measure color="#98AFC7" alpha="200">NUM_TESTS_CODE</measure>
  </dataset>
  <rangeAxis id="TOTAL" color="#98AFC7" hideTickLabels="false" min="0" location="left" type="number" numberFormat="INTEGER" />
</chart>

This chart also accepts a filterMeasure element, which allows refining which artefacts are included on the chart. When drawing a chart, Squore checks if the metric specified is within the defined bounds for the artefact, in order to know if it should be included in or excluded from the chart.

You can use the filterMeasure (with a mandatory dataBounds attribute) as follows:

<chart id="SOME_CHART" ...>
  <measure>METRIC_A</measure>
  <measure>METRIC_B</measure>
  <filterMeasure dataBounds="[50;100]">METRIC_C</filterMeasure>
</chart>

In the example above, the chart will include the artefact only if METRIC_C is between 50 and 100.

Note

Filtering artefacts on charts is not possible at model-level.

The chart element suports the following attributes:

  • targetArtefactTypes allows to filter descendants according to their type. You can use one or more types. Concrete and abstract types are supported, so it is possible to use an alias, as described in the section called “Artefact Types”. There are some limitations to what is supported:

    1. Measures associated to an indicator must have the same measureId for all types and be of the same kind (base or derived)

    2. For Stacked Bar Chart, Simple Temporal Evolution Stacked Bar Chart, Simple Pie and Simple Bar the scale associated to the indicator must be the same for be the same for all types

  • onlyDirectChildren (optional, default: true) includes artefacts that are direct children of the current artefact in the chart when set to true, or all descendants of the current artefact when set to false.

  • renderer (optional, default: BAR) allows setting a common renderer for all measures in te chart. This can be omitted and overridden for individual datasets, as explained in the section called “Datasets”.

  • orderByMeasure (optional, default: the first measure in the chart definition) allows ordering the artefacts on the chart according to the specified measure.

  • inverted (optional, default: false) allows reversing the default order of artefacts

You can specify as many measure sub-elements as necessary for each artefact, using the syntax detailed in the section called “Common Attributes for measure and indicator.