Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChartDateOptions

Class for defining the date options for a chart.

Hierarchy

  • ChartDateOptions

Index

Constructors

Properties

Methods

Constructors

constructor

  • new ChartDateOptions(format?: string, code?: string, unit?: string, step?: string | number): ChartDateOptions
  • Parameters

    • Optional format: string

      The format to display the date on the chart's axis (e.g. unix). Optional.

    • Optional code: string

      The code for the date (e.g. dd/mm/yyyy). Optional.

    • Optional unit: string

      The unit to be used for spacing the axis values (e.g. months). Optional.

    • Optional step: string | number

      How many of the above unit should be used for spacing the axis values (automatic if undefined). This option is not supported in LibreOffice. Optional.

    Returns ChartDateOptions

Properties

code

code: undefined | string

format

format: undefined | string

step

step: undefined | string | number

unit

unit: undefined | string

Methods

asDict

  • asDict(): {}
  • The dict representation of this object

    Returns {}

    dict representation of this object

    • [key: string]: string | number

Generated using TypeDoc