Skip to main content

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[]
typeBAR

BarData

type BarData = object;

Type declaration

NameType
groupstring
labelstring
valuestring

BoxAndWhiskerChart

type BoxAndWhiskerChart = Chart2D & object;

Type declaration

NameType
elementsBoxAndWhiskerData[]
typeBOX_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
typeLINE

PieChart

type PieChart = Chart & object;

Type declaration

NameType
elementsPieData[]
typePIE

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
typeSCATTER

SuperChart

type SuperChart = Chart & object;

Type declaration

NameType
elementsChart[]
typeSUPERCHART

Functions

deserializeChart()

function deserializeChart(data: any): Chart

Parameters

ParameterType
dataany

Returns

Chart