ChartType
Chart typesEnumeration Members
| Enumeration Member | Value |
|---|---|
BAR | "bar" |
BOX_AND_WHISKER | "box_and_whisker" |
LINE | "line" |
PIE | "pie" |
SCATTER | "scatter" |
SUPERCHART | "superchart" |
UNKNOWN | "unknown" |
ScaleType
Ax scale typesEnumeration Members
| Enumeration Member | Value |
|---|---|
ASINH | "asinh" |
CATEGORICAL | "categorical" |
DATETIME | "datetime" |
FUNCTION | "function" |
FUNCTIONLOG | "functionlog" |
LINEAR | "linear" |
LOG | "log" |
LOGIT | "logit" |
SYMLOG | "symlog" |
Type Aliases
BarChart
Type declaration
| Name | Type |
|---|---|
elements | BarData[] |
type | ChartType.BAR |
BarData
Type declaration
| Name | Type |
|---|---|
group | string |
label | string |
value | string |
BoxAndWhiskerChart
Type declaration
| Name | Type |
|---|---|
elements | BoxAndWhiskerData[] |
type | ChartType.BOX_AND_WHISKER |
BoxAndWhiskerData
Type declaration
| Name | Type |
|---|---|
first_quartile | number |
label | string |
max | number |
median | number |
min | number |
outliers | number[] |
third_quartile | number |
Chart
Type declaration
| Name | Type |
|---|---|
elements | any[] |
title | string |
type | ChartType |
ChartTypes
LineChart
Type declaration
| Name | Type |
|---|---|
type | ChartType.LINE |
PieChart
Type declaration
| Name | Type |
|---|---|
elements | PieData[] |
type | ChartType.PIE |
PieData
Type declaration
| Name | Type |
|---|---|
angle | number |
label | string |
radius | number |
PointData
Type declaration
| Name | Type |
|---|---|
label | string |
points | [number | string, number | string][] |
ScatterChart
Type declaration
| Name | Type |
|---|---|
type | ChartType.SCATTER |
SuperChart
Type declaration
| Name | Type |
|---|---|
elements | Chart[] |
type | ChartType.SUPERCHART |
Functions
deserializeChart()
Parameters
| Parameter | Type |
|---|---|
data | any |
Returns
Chart