API / geotoolkit / charts / BarChart / BarChart
Type Aliases
Type Aliases
Ƭ BarValues: Object
| Name | Type | Description |
|---|---|---|
alignment? | AnchorType | alignment |
offset? | { x?: number ; y?: number } | addition offset |
offset.x? | number | x value |
offset.y? | number | y value |
position? | AnchorType | anchor position |
Ƭ Options: Options & Omit<ShapeOptions, "barmode" | "orientation"> & { alignment?: AlignmentStyle ; datamode?: DataMode ; referenceline?: ReferenceLineOptions ; rosemode?: RoseMode ; series?: { x?: string | number[] | string[] | SeriesWithData ; xpositions?: XPositions ; y?: string | number[] | SeriesWithData | SeriesWithData[] } ; stacked?: boolean }
Bar chart options
Ƭ OptionsOut: OptionsOut & ShapeOptionsOut & { alignment: AlignmentStyle ; datamode: DataMode ; referenceline?: OptionsOut & { value?: number } ; rosemode: RoseMode ; series: { x: Series ; xpositions: XPositions ; y: Series[] } ; stacked: boolean }
Ƭ ReferenceLineOptions: Options & { value?: number }
Ƭ Series: Series & { fillstyle?: Type | Type[] ; linestyle?: Type | Type[] ; visible?: boolean }
Define series properties
Ƭ SeriesWithData: Merge<Series, { data: number[] | string }>
Ƭ ShapeOptions: Omit<Options, "series"> & { barvalues?: BarValues }
Ƭ ShapeOptionsOut: Pick<OptionsOut, "barpad" | "barmode" | "barvalues" | "barmaxwidth" | "barstyles" | "valuelimits" | "symbol"> & { barvalues: BarValues }
Ƭ XPositions: Object
X positions data for positioning bar and slices (only support Polar system)
| Name | Type | Description |
|---|---|---|
end | NumericalDataSeries | X positions data to specify ending angle for bar and slices (only support Polar system) |
start | NumericalDataSeries | X positions data to specify starting angle for bar and slices (only support Polar system) |