UNPKG

eurostat-map

Version:

Reusable library to quickly create and customise web maps showing Eurostat data directly retrieved from Eurostat database.

46 lines (44 loc) 1.49 kB
import type { MapConfig } from '../../../core/MapConfig' import type { StripeCompositionLegendConfig } from '../../../legend/composition/StripeCompositionLegendConfig' /** * Configuration for stripe composition maps. */ export interface StripeMapConfig extends MapConfig { /** Grouped stripe settings. */ stripeSettings?: { width?: number orientation?: number otherColor?: string otherText?: string } /** @deprecated Use stripeSettings.width */ /** Stripe width. */ stripeWidth?: number /** @deprecated Use stripeSettings.orientation */ /** Stripe orientation. */ stripeOrientation?: number /** Cat colors. */ catColors?: Record<string, string> /** Cat labels. */ catLabels?: Record<string, string> /** @deprecated Use stripeSettings.otherColor */ /** Stripe other color. */ stripeOtherColor?: string /** @deprecated Use stripeSettings.otherText */ /** Stripe other text. */ stripeOtherText?: string /** Show only when complete. */ showOnlyWhenComplete?: boolean /** No data fill style. */ noDataFillStyle?: string /** Pie chart radius. */ pieChartRadius?: number /** Pie chart inner radius. */ pieChartInnerRadius?: number /** Stripe total code. */ stripeTotalCode?: string /** Stat codes. */ statCodes?: string[] /** Legend. */ legend?: StripeCompositionLegendConfig | false }