Using Markers

Charts that include axes also allow the use of markers. Markers are coloured regions of the chart area that help put the displayed value into context. For example, you could display a line chart of the evolution of the main indicator for your project and use markers to visually associate the value of the indicator with its level, as shown below:

File size distribution in a project, using markers to draw zones corresponding to a scale gauging files by size

<chart type="Histogram" id="MARKERS_EXAMPLE" targetArtefactTypes="FILE" nbBars="10">
	<measure color="WHITE">LC</measure>
	<markers>
		<marker fromIndicator="LC" alpha="150" isVertical="true" />	
	</markers>
</chart>

Simpler markers can be drawn as vertical or horizontal lines, as shown below:

The evolution of an indicator within the levels of its associated scale, using markers to represent the different scale levels

<chart type="OptimizedBar" id="MARKERS_VERTICAL_EXAMPLE" asPercentage="false">
	<measure color="0,81,0">A_FILE</measure>
	<measure color="3,127,3">B_FILE</measure>
	<measure color="133,182,2">C_FILE</measure>
	<markers>
		<marker value="50" endValue="100" color="RED" alpha="150" isVertical="false" />
	</markers>
</chart>

There are five ways to include markers on a chart:

The marker element has the following attributes: