Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Guide configuration element is responsible for tuning look and feel of your chart.

Example with guide
{
	"type": "scatterplot",
	"x": "cycleTime",
	"y": "effort",
	"color": "team",
	"size": "count",
	"guide": {
		"x": {"label": {"text": "Cycle Time in days", "padding": 35}, "padding": 20},
		"y": {"label": "Effort in points", "padding": 20},
		"padding": {"b": 70, "l": 70, "t": 10, "r": 10},
		"showGridLines": "xy",
		"color": {
			"brewer": ["color-red", "color-green", "color-blue"]
		}
	}
}


Configuration

ElementNotes
x

Styling options for X axis.

ElementNotes
paddingDescribes padding between a chart body and X axis.
labelDescribes label for X axis.
ElementNotes
textTitle for X axis
paddingPadding between title and a rest of X axis.
nicePossible values: true, false. Defaults to true. By default engine tries to make axis scale "nice". It tries to start measure-based scale from 0 and adds some margins to complete scale with "nice" numbers. For example, if original scale domain contains values [8, 20, ... 40], then axis will have ticks from 0 to 45.
min

The scale domain can be extended using min and max properties. The min and max can't reduce original scale domain and will be ignored in such a cases.

"Nicing" will be applied to extended domain by default. Set nice property to false to avoid such a behavior.

max
yStyling options for Y axis. Same elements as for X applies.
color


size


padding


showGridLines






  • No labels