Options
All
  • Public
  • Public/Protected
  • All
Menu

A series for an area chart.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new AreaSeries(x: (string | number)[], y: number[], name?: string, color?: string, opacity?: number): AreaSeries
  • 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 opacity: number

      The opacity for the color of the series. Optional.

    Returns AreaSeries

Properties

color

color: undefined | string

name

name: undefined | string

opacity

opacity: undefined | number

x

x: (string | number)[]

y

y: number[]

Methods

asDict

  • asDict(): {}

data

  • data(): {}[]

Generated using TypeDoc