Datasets

Datasets are used to apply different rendering settings to different groups of measures in a chart. Each dataset can use its own axis configuration.

Two metrics styled with two different datasets in the same chart.

<chart type="TE" id="TEMPORAL_EVOLUTION_DOUBLE_AXIS_MISSING_VERSIONS_LINE">
	<dataset renderer="LINE" rangeAxisId="AXIS_1">
		<measure color="40,81,245" alpha="200" label="Source Line of Code">SLOC</measure>
	</dataset>
	
	<dataset renderer="BAR" rangeAxisId="AXIS_2">
		<measure color="200,81,0" alpha="200" label="Line of Code">LC</measure>
	</dataset>
	
	<rangeAxis id="AXIS_1" label="SLOC (en KLOC)" color="40,81,245" />
	<rangeAxis id="AXIS_2" label="LC" color="200,81,0" />
</chart>

The dataset accepts the following attributes:

Chart axes can be defined using the rangeAxis element, which accepts the following attributes: