eurostat-map
Version:
Reusable library to quickly create and customise web maps showing Eurostat data directly retrieved from Eurostat database.
53 lines (41 loc) • 1.5 kB
TypeScript
import type { MapInstance } from '../../../core/MapInstance'
import type { CompositionStatConfig } from '../CompositionStatConfig'
import type { StripeCompositionLegendConfig } from '../../../legend/composition/StripeCompositionLegendConfig'
/**
* Stripe map type.
*/
export interface StripeMap extends MapInstance {
legend(): StripeCompositionLegendConfig | false
legend(config: StripeCompositionLegendConfig | false): this
stripeWidth(): number
stripeWidth(v: number): this
stripeOrientation(): number
stripeOrientation(v: number): this
catColors(): any
catColors(v: any): this
catLabels(): any
catLabels(v: any): this
showOnlyWhenComplete(): boolean
showOnlyWhenComplete(v: boolean): this
noDataFillStyle(): string
noDataFillStyle(v: string): this
pieChartRadius(): number
pieChartRadius(v: number): this
pieChartInnerRadius(): number
pieChartInnerRadius(v: number): this
statCodes(): string[] | undefined
statCodes(v: string[] | undefined): this
statComp(config: CompositionStatConfig): this
statComp(
/** Config. */
config: CompositionStatConfig,
/** Category parameter. */
categoryParameter?: string,
/** Category codes. */
categoryCodes?: string[],
/** Category labels. */
categoryLabels?: string[],
/** Category colors. */
categoryColors?: string[]
): this
}