Home > @plotex/chart-def

chart-def package#

This package contains core types that define the chart definition.

Enumerations#

EnumerationDescription
AxisTypeSets the type of an axis.
ChartTypeSets the type of chart to output.
HorizontalLabelPositionSets the position of a horizontal label.
VerticalLabelPositionSets the position of a vertical label.

Interfaces#

InterfaceDescription
IAnnotationLabelStyleSets the style for the annotation's label.
IAnnotationStyleA style that can be applied to an annotation.
IAnnotationStylesNamed styles that can be applied to annotations.
IAxisConfigConfigures an axis of the chart.
IAxisLabelConfigDefines the configuration of an axis label.
IAxisMapMaps the columns in a dataframe to axis in the chart.
IAxisSeriesConfigRelates a single axis to data series.
IAxisTicksConfigurationConfiguration for axis tick marks.
IChartDefA chart definition that is suitable for serialization to JSON and transfer to the browser via REST API. Can be used to instantiate a chart in the browser.
IChartTitleSets the title for the chart.
IDataLabelsConfigure labels that are applied to each data point.
IFontConfigConfigures the font for a label.
ILegendConfigConfigures the legend of the chart.
IPaddingSets padding.
IPlotConfigDefines the chart.
ISeriesConfigConfiguration for a data series.
ISeriesConfigMapLookup table for configuration of named data series. Add an enty for each series you want to configure.
ISeriesLabelConfigConfigures the label for a series.
IXAxisConfigConfigures the X axis of the chart.
IYAxisConfigConfigures a Y axis of the chart.
IYAxisSeriesConfigRelates a single Y axis to data series.

Type Aliases#

Type AliasDescription
AxisTypeStringSets the type of an axis.
ChartTypeStringSets the type of chart to output.
HorizontalLabelPositionStringSets the position of a horizontal label.
VerticalLabelPositionStringSets the position of a vertical label.