ChartType

Chart types

Enumeration Members

Enumeration MemberValue
BAR"bar"
BOX_AND_WHISKER"box_and_whisker"
LINE"line"
PIE"pie"
SCATTER"scatter"
SUPERCHART"superchart"
UNKNOWN"unknown"

ScaleType

Ax scale types

Enumeration Members

Enumeration MemberValue
ASINH"asinh"
CATEGORICAL"categorical"
DATETIME"datetime"
FUNCTION"function"
FUNCTIONLOG"functionlog"
LINEAR"linear"
LOG"log"
LOGIT"logit"
SYMLOG"symlog"

Type Aliases

BarChart

type BarChart: Chart2D & object;

Type declaration

NameType
elementsBarData[]
typeChartType.BAR

BarData

type BarData: object;

Type declaration

NameType
groupstring
labelstring
valuestring

BoxAndWhiskerChart

type BoxAndWhiskerChart: Chart2D & object;

Type declaration

NameType
elementsBoxAndWhiskerData[]
typeChartType.BOX_AND_WHISKER

BoxAndWhiskerData

type BoxAndWhiskerData: object;

Type declaration

NameType
first_quartilenumber
labelstring
maxnumber
mediannumber
minnumber
outliersnumber[]
third_quartilenumber

Chart

type Chart: object;

Represents a chart.

Type declaration

NameType
elementsany[]
titlestring
typeChartType

ChartTypes

type ChartTypes: 
  | LineChart
  | ScatterChart
  | BarChart
  | PieChart
  | BoxAndWhiskerChart
  | SuperChart;

LineChart

type LineChart: PointChart & object;

Type declaration

NameType
typeChartType.LINE

PieChart

type PieChart: Chart & object;

Type declaration

NameType
elementsPieData[]
typeChartType.PIE

PieData

type PieData: object;

Type declaration

NameType
anglenumber
labelstring
radiusnumber

PointData

type PointData: object;

Type declaration

NameType
labelstring
points[number | string, number | string][]

ScatterChart

type ScatterChart: PointChart & object;

Type declaration

NameType
typeChartType.SCATTER

SuperChart

type SuperChart: Chart & object;

Type declaration

NameType
elementsChart[]
typeChartType.SUPERCHART

Functions

deserializeChart()

function deserializeChart(data: any): Chart

Parameters

ParameterType
dataany

Returns

Chart