Skip to content

Interface: BarPolarOptions ​

Options of barPolar: px.bar_polar's arguments in camelCase.

Extends ​

Properties ​

PropertyModifierTypeDescriptionInherited from
animationFrame?readonlyColumnRefColumn of frame values: one frame per value (in categoryOrders / first-appearance order), with a Play / Pause update menu and a slider. Axis ranges are fixed across frames.PolarOptions.animationFrame
animationGroup?readonlyColumnRefColumn matching rows across frames (ids), so each object moves rather than being replaced.PolarOptions.animationGroup
barmode?readonly"relative" | "overlay" | "stack"'relative' (px's default) and 'stack' stack the groups' bars at each angle; 'overlay' draws them over each other (layout.polar.barmode).-
base?readonlyColumnRefColumn of bar bases (the radius each bar starts at).-
categoryOrders?readonlyReadonly<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).PolarOptions.categoryOrders
color?readonlyColumnRefColumn to color by.PolarOptions.color
colorContinuousMidpoint?readonlynumbercmid: the value at the middle of a diverging colorscale.ContinuousColorOptions.colorContinuousMidpoint
colorContinuousScale?readonlyContinuousScaleColorscale of a numeric color. Default: the template's sequential colorscale.ContinuousColorOptions.colorContinuousScale
colorDiscreteMap?readonlyReadonly<Record<string, string>> | "identity"Fixed colors per value of color ({ Asia: 'red' }); other values continue with the sequence. 'identity': the values are colors themselves (no legend entries for them).PolarOptions.colorDiscreteMap
colorDiscreteSequence?readonlyreadonly string[]Colors for the values of color, in order. Default: the template's colorway.PolarOptions.colorDiscreteSequence
customData?readonlyreadonly ColumnRef[]Columns put in customdata (first, before hoverData's), e.g. for click handlers.PolarOptions.customData
direction?readonly"clockwise" | "counterclockwise"Angular axis direction. Default 'clockwise' (px).PolarOptions.direction
height?readonlynumberFigure height in px (layout.height).PolarOptions.height
hoverData?readonly| readonly ColumnRef[] | Readonly<Record<string, string | boolean>>More columns for the hover label, through customdata: a list of columns, or an object that adds columns (true), removes lines (false, e.g. { x: false }) or formats them (':.2f', `'%Y'`).
hoverName?readonlyColumnRefColumn shown in bold at the top of the hover label (hovertext).PolarOptions.hoverName
labels?readonlyReadonly<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.PolarOptions.labels
logR?readonlybooleanLog radial axis.PolarOptions.logR
pattern?readonlyColumnRefColumn whose values get different fill patterns.PatternOptions.pattern
patternShapeMap?readonlyReadonly<Record<string, string>> | "identity"Fixed shapes per value; 'identity': the values are shapes.PatternOptions.patternShapeMap
patternShapeSequence?readonlyreadonly string[]Shapes in order. Default: '', /, \, x, +, ..PatternOptions.patternShapeSequence
r?readonlyColumnRefColumn of radii.PolarOptions.r
rangeColor?readonlyreadonly [number, number][cmin, cmax] of the colorscale.ContinuousColorOptions.rangeColor
rangeR?readonlyreadonly [number, number]Fixed radial range, in data units (a log axis takes data units too, as px).PolarOptions.rangeR
rangeTheta?readonlyreadonly [number, number]Angular sector drawn, [start, end] in degrees (polar.sector).PolarOptions.rangeTheta
startAngle?readonlynumberWhere the angular axis starts, in degrees counterclockwise from east. Default 90 (the top).PolarOptions.startAngle
template?readonlystring | Templatelayout.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.PolarOptions.template
theta?readonlyColumnRefColumn of angles (degrees) or angular categories ('N', 'NNE', …).PolarOptions.theta
title?readonlystringFigure title (layout.title.text).PolarOptions.title
width?readonlynumberFigure width in px (layout.width).PolarOptions.width

Released under the MIT License.