X Axis

Defines aspects of the x-axis display.

Attributes

period

Defines the time periods the data will be plotted over. options are:

  1. DAY
  2. WEEK
  3. MONT
  4. TWOMONTHS
  5. QUARTER
  6. YEAR
  7. YTD - year to date
  8. YR - year

startPeriod

the start date for chart to display starting from. This is a date code. Options are:

  1. SOFY - start of the financial year
  2. EOFY - end of the financial year
  3. RD - date the report is run on
  4. FD -  first day of the current period
  5. LD - last day of the current period
  6. or user defined date (e.g. 1 December 2010).

Use + or - to change the start period e.g. startPeriod=”SOFY - 6”, which gives 6 defined periods prior to the start of the financial year.

endPeriod

the finish/end date for the chart to display. This is a date code. Options are:

  1. SOFY - start of the financial year
  2. EOFY - end of the financial year
  3. RD - date the report is run on
  4. FD - first day of the current period
  5. LD - last day of the current period
  6. YTD - year to date
  7. or user defined date (e.g. 1 December 2010).

Use + or - to change the start period e.g. endPeriod=”RD + 6”, which gives 6 defined periods after the date the report is being run on.

highLightPeriod

highlights the specified period on the chart. This is a date code. Default is none.

showAxis

specifies if the y axis is displayed. Default is false. If chart type is a pie or donut the axis will not display.

showMarkers

specifies if the y axis labels/markers/units will display. Default is true.

showGridLines

Defines if horizontal gridlines will show on the chart canvas. Default is true.


Click to see Comments

Help comments powered by Disqus