A5.chart.Definition LayerLinear Object
Description
Definition of a linear 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".
- valueobject
The definition of the main axis of the linear 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.linear.point.
- groupobject
The settings to control the rendering of a group of data points on the chart. See A5.chart.guides.linear.group.