eurostat-map
Version:
Reusable library to quickly create and customise web maps showing Eurostat data directly retrieved from Eurostat database.
31 lines (29 loc) • 857 B
TypeScript
import type { MapConfig } from '../../core/MapConfig'
/**
* Configuration for bar chart composition maps.
*/
export interface BarMapConfig extends MapConfig {
barType?: 'stacked' | 'grouped'
catColors?: Record<string, string>
catLabels?: Record<string, string>
showOnlyWhenComplete?: boolean
noDataFillStyle?: string
barMinWidth?: number
barMaxWidth?: number
barHeight?: number
barGroupWidth?: number
barGroupGap?: number
barGroupMinHeight?: number
barGroupMaxHeight?: number
barStrokeFill?: string
barStrokeWidth?: number
barCornerRadius?: number
barOtherColor?: string
barOtherText?: string
barTooltipWidth?: number
barTooltipHeight?: number
dorling?: boolean
animateDorling?: boolean
barTotalCode?: string
statCodes?: string[]
}