eurostat-map
Version:
Reusable library to quickly create and customise web maps showing Eurostat data directly retrieved from Eurostat database.
63 lines (46 loc) • 1.54 kB
TypeScript
import type { MapInstance } from '../../core/MapInstance'
import type { CompositionStatConfig } from './CompositionStatConfig'
/**
* Pie map type.
*/
export interface PieMap extends MapInstance {
catColors(): any
catColors(v: any): this
catLabels(): any
catLabels(v: any): this
showOnlyWhenComplete(): boolean
showOnlyWhenComplete(v: boolean): this
noDataFillStyle(): string
noDataFillStyle(v: string): this
pieMaxRadius(): number
pieMaxRadius(v: number): this
pieMinRadius(): number
pieMinRadius(v: number): this
pieChartInnerRadius(): number
pieChartInnerRadius(v: number): this
pieOtherColor(): string
pieOtherColor(v: string): this
pieOtherText(): string
pieOtherText(v: string): this
pieStrokeFill(): string
pieStrokeFill(v: string): this
pieStrokeWidth(): number
pieStrokeWidth(v: number): this
dorling(): boolean
dorling(v: boolean): this
animateDorling(): boolean
animateDorling(v: boolean): this
pieTotalCode(): string | undefined
pieTotalCode(v: string | undefined): this
statCodes(): string[] | undefined
statCodes(v: string[] | undefined): this
statPie(config: CompositionStatConfig): this
statPie(
config: CompositionStatConfig,
categoryParameter?: string,
categoryCodes?: string[],
categoryLabels?: string[],
categoryColors?: string[],
totalCode?: string
): this
}