Series

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:

  1. BAR
  2. PIE
  3. DONUT
  4. OUTCOMES
  5. DIFFERENCE
  6. LINE
  7. CURVE
  8. TREND
  9. AREA
  10. SCATTER
  11. TARGET
  12. TARGETBAR

position

defines how the series draws. Options are:

  1. STACKED
  2. OVERLAID

marker

defines how the coordinate point is marked. Options are:

  1. DIAMOND
  2. DOT
  3. STAR
  4. 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:

  1. LOG - logarithmic.
  2. 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:

  1. DIAMOND
  2. DOT
  3. STAR
  4. NONE

showInLegend

defines if the series is displayed in the legend. Options are:

  1. true
  2. false

legendPosition

used in PIE, DONUT, TARGET or TARGETBAR to draw the data in the chart. Options are:

  1. CALLOUT.


Click to see Comments

Help comments powered by Disqus