Defines the data being drawn. A chart can have multiple series drawn over the period defined in the x-axis.
Attributes
id | a unique ID that allows the chart to be referenced by the application and by the report. |
type | defines the type of series being drawn. Options are: - BAR
- PIE
- DONUT
- OUTCOMES
- DIFFERENCE
- LINE
- CURVE
- TREND
- AREA
- SCATTER
- TARGET
- TARGETBAR
|
position | defines how the series draws. Options are: - STACKED
- OVERLAID
|
marker | defines how the coordinate point is marked. Options are: - DIAMOND
- DOT
- STAR
- NONE
|
title | title to be displayed in the legend |
data | specifies the subject code. |
metric |
|
dimensionType |
|
dimension | Part of the subject, metric, dimension model. Allows data to be charted across dimensions. |
addPeriods | specify the number of periods + or - dates defined in the x-axis. |
futureMetric |
|
color | hex code. |
style | sets a style for the series using SVG syntax e.g. style="fill:#FFF100;" style="stroke-width:3.5;" style="font-family:Ariel;10;bold;". |
opacity | sets an opacity over series colour. A number between 0 - 1. |
series | specifies a series by id. |
series1 | defines the first series for a difference by by id. |
series2 | defines the second series for a difference by by id. |
showValue | shows values on the series. |
currentColor | Specifies the color for report date period. Overrides the series color. This is a hex code. |
trend | draws a trend line for a series specified by it’s id. Options are: - LOG - logarithmic.
- MOVING_AVERAGE - 3 month rolling average.
|
showHighLow | defines if high/low data is displayed. Options are: true, false. |
highLowMarker | defines the marker for high/low data points. Options are: - DIAMOND
- DOT
- STAR
- NONE
|
showInLegend | defines if the series is displayed in the legend. Options are: - true
- false
|
legendPosition | used in PIE, DONUT, TARGET or TARGETBAR to draw the data in the chart. Options are: - CALLOUT.
|
Click to see Comments