Interface: CommonOptions
Options every Express function takes.
Extended by
LineOptionsScatterOptionsBarOptionsTimelineOptionsHistogramOptionsEcdfOptionsParallelCategoriesOptionsParallelCoordinatesOptionsScatterMatrixOptionsPieOptionsFunnelAreaOptionsFunnelOptionsHierarchyOptionsPolarOptionsChart3dOptionsGeoOptionsGraphDataOptions
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
categoryOrders? | readonly | Readonly<Record<string, readonly unknown[]>> | Value orders per column: { day: ['Thu', 'Fri', 'Sat', 'Sun'] }. They order the traces and legend (for grouping columns), facets, frames and category axes. Values not listed follow in order of first appearance; listed values without rows still take a color and a facet (as px). |
height? | readonly | number | Figure height in px (layout.height). |
labels? | readonly | Readonly<Record<string, string>> | Display names of columns: { gdpPercap: 'GDP per capita' }. Used for axis titles, hover lines, the legend title, facet labels, the colorbar title and the animation slider. |
template? | readonly | string | Template | layout.template: a registered name ('plotly-classic') or a template object. Default: unset, so the chart's default template applies (Holochart's holochart look); its colorway, symbol and dash cycles and sequential colorscale are what the figure's colors are taken from. |
title? | readonly | string | Figure title (layout.title.text). |
width? | readonly | number | Figure width in px (layout.width). |