Options
All
  • Public
  • Public/Protected
  • All
Menu

A series for a line chart.

Hierarchy

Index

Constructors

constructor

  • new LineSeries(x: (string | number)[], y: number[], name?: string, color?: string, smooth?: boolean, symbol?: string, symbolSize?: string | number, lineWidth?: string, lineStyle?: string): LineSeries
  • Parameters

    • x: (string | number)[]

      The data for the x-axis.

    • y: number[]

      The data for the y-axis.

    • Optional name: string

      The name of the series. Optional.

    • Optional color: string

      The color in which the series should be shown on a chart. Can be html/css colors or hex values. Optional.

    • Optional smooth: boolean

      Whether or not the corners of the angles formed in the data-points are smoothened. Optional.

    • Optional symbol: string

      Symbol representing the datapoints. Can be square (default), diamond or triangle. Optional.

    • Optional symbolSize: string | number

      Size of the symbol representing the data-points in (in em, pt, px, cm or in), by default: automatic. Optional.

    • Optional lineWidth: string

      Thickness of the connecting line in em, pt, px, cm or in. Optional.

    • Optional lineStyle: string

      Style of the line. Supported options can be found online on the Cloud Office Print documentation. Optional.

    Returns LineSeries

Properties

color

color: undefined | string

lineStyle

lineStyle: undefined | string

lineWidth

lineWidth: undefined | string

name

name: undefined | string

smooth

smooth: undefined | boolean

symbol

symbol: undefined | string

symbolSize

symbolSize: undefined | string | number

x

x: (string | number)[]

y

y: number[]

Methods

asDict

  • asDict(): {}

data

  • data(): {}[]

Generated using TypeDoc