JavaScript

A5.chart.Definition LayerRect Object

Description

Definition of a rectangular chart layer.

Properties

colorsstringfunction

Definition of how each group in the chart data is colored. A value of "default" (the default) will use the colors defined in the palette (see A5.chart.palettes). A function can be used to define the colors dynamically. The function should return the color as a string, or an object with explicit "line" and "fill" colors.

palettestring

Override the palette to use when draw the specific chart layer. See A5.chart.palettes.

modestring

The shape rendering mode for lines in the SVG. Values can be "auto", "optimizeSpeed", "crispEdges" (the default) or "geometricPrecision".

xobject

The definition of the "x" axis of the rectangular chart. See A5.chart Definition Axis Object.

yobject

The definition of the "y" axis of the rectangular chart. See A5.chart Definition Axis Object.

annotationsarray

An optional array of annotations to add to the chart. See A5.chart.guides.annotation.

pointobject

The settings to control the rendering of data points on the chart. See A5.chart.guides.rect.point.

groupobject

The settings to control the rendering of a group of data points on the chart. See A5.chart.guides.rect.group.