BetaPublic beta — Read the release notes
Documentation

Chart

Data visualization wrapper with accessible fallback table.

Package
@solidiom/chart
Version
0.6.0
Status
experimental

Generated from the package's public source.

API

Canvascomponent

                        Canvas(props: ChartCanvasProps): Element
                      

Props

class?
string
ref?
(el: HTMLDivElement) => void
style?
string | CSSProperties

children: Element

View source

ChartCanvasPropsinterface

Props

class?
string
ref?
(el: HTMLDivElement) => void
style?
string | CSSProperties

children: Element

View source

ChartDataPointinterface

Props

label
string
value
number

View source

ChartDescriptionPropsinterface

Props

class?
string

children: Element

View source

ChartFallbackTablePropsinterface

Props

class?
string
visuallyHidden?
boolean — Visually hidden by default for screen readers.

children: Element

View source

ChartLegendPropsinterface

Props

class?
string

children: Element

View source

ChartRootPropsinterface

Props

class?
string
data?
ChartDataPoint[] — Data points for the chart.
type?
ChartType — Type of chart visualization.

children: Element

View source

ChartTitlePropsinterface

Props

class?
string

children: Element

View source

ChartTypetype

View source

Descriptioncomponent

                        Description(props: ChartDescriptionProps): Element
                      

Props

class?
string

children: Element

View source

FallbackTablecomponent

                        FallbackTable(props: ChartFallbackTableProps): Element
                      

Props

class?
string
visuallyHidden?
boolean — Visually hidden by default for screen readers.

children: Element

View source

Legendcomponent

                        Legend(props: ChartLegendProps): Element
                      

Props

class?
string

children: Element

View source

Rootcomponent

                        Root(props: ChartRootProps): Element
                      

Props

class?
string
data?
ChartDataPoint[] — Data points for the chart.
type?
ChartType — Type of chart visualization.

children: Element

View source

Titlecomponent

                        Title(props: ChartTitleProps): Element
                      

Props

class?
string

children: Element

View source