Interface ChoroplethProps

Hierarchy

  • ChoroplethCommonProps
    • ChoroplethProps

Properties

borderColor?: string | FeatureAccessor<ChoroplethBoundFeature, number>
borderWidth?: number | FeatureAccessor<ChoroplethBoundFeature, number>
colors?: string | string[] | FeatureAccessor<any, string>
data: any[]
domain: number[]
enableGraticule?: boolean
features: any[]
fillColor?: string | FeatureAccessor<ChoroplethBoundFeature, string>
graticuleLineColor?: string
graticuleLineWidth?: number
isInteractive?: boolean
label?: string | FeatureAccessor<any, string>
legends?: LegendProps[]
margin?: Partial<Partial<Margin>>
match?: string | DatumMatcher
onClick?: ChoroplethEventHandler
onMouseEnter?: ChoroplethEventHandler
onMouseLeave?: ChoroplethEventHandler
onMouseMove?: ChoroplethEventHandler
projectionRotation?: [number, number, number]
projectionScale?: number
projectionTranslation?: [number, number]
projectionType?: GeoProjectionType
role?: string
theme?: Partial<Pick<CompleteTheme, "textColor" | "background" | "fontFamily" | "fontSize"> & {
    annotations: Partial<{
        link: Partial<{
            outlineColor: string;
            outlineOpacity: number;
            outlineWidth: number;
            stroke: string;
            strokeWidth: number;
        } & Partial<Omit<CSSProperties, "stroke" | "strokeWidth">>>;
        outline: Partial<{
            outlineColor: string;
            outlineOpacity: number;
            outlineWidth: number;
            stroke: string;
            strokeWidth: number;
        } & Partial<Omit<CSSProperties, "stroke" | "strokeWidth">>>;
        symbol: Partial<{
            fill: string;
            outlineColor: string;
            outlineOpacity: number;
            outlineWidth: number;
        } & Partial<Omit<CSSProperties, "fill">>>;
        text: Partial<{
            fill: string;
            outlineColor: string;
            outlineOpacity: number;
            outlineWidth: number;
        } & Partial<Omit<CSSProperties, "fill">>>;
    }>;
    axis: Partial<{
        domain: Partial<{
            line: Partial<Partial<CSSProperties>>;
        }>;
        legend: Partial<{
            text: Partial<Partial<CSSProperties>>;
        }>;
        ticks: Partial<{
            line: Partial<Partial<CSSProperties>>;
            text: Partial<Partial<CSSProperties>>;
        }>;
    }>;
    crosshair: Partial<{
        line: Partial<{
            stroke: string;
            strokeDasharray: string;
            strokeOpacity: number;
            strokeWidth: number;
        }>;
    }>;
    dots: Partial<{
        text: Partial<Partial<CSSProperties>>;
    }>;
    grid: Partial<{
        line: Partial<Partial<CSSProperties>>;
    }>;
    labels: Partial<{
        text: Partial<Partial<CSSProperties>>;
    }>;
    legends: Partial<{
        hidden: Partial<{
            symbol: Partial<{
                fill: string;
                opacity: number;
            }>;
            text: Partial<CSSProperties>;
        }>;
        text: Partial<Partial<CSSProperties>>;
        ticks: Partial<{
            line: Partial<Partial<CSSProperties>>;
            text: Partial<Partial<CSSProperties>>;
        }>;
        title: Partial<{
            text: Partial<Partial<CSSProperties>>;
        }>;
    }>;
    markers: Partial<{
        fontSize: string | 0;
        lineColor: string;
        lineStrokeWidth: number;
        text: Partial<CSSProperties>;
        textColor: string;
    }>;
    tooltip: Partial<{
        basic: Partial<CSSProperties>;
        chip: Partial<CSSProperties>;
        container: Partial<CSSProperties>;
        table: Partial<CSSProperties>;
        tableCell: Partial<CSSProperties>;
        tableCellValue: Partial<CSSProperties>;
    }>;
}>
tooltip?: ChoroplethTooltip
unknownColor?: string
value?: string | FeatureAccessor<any, number>
valueFormat?: string | FeatureAccessor<any, string | number>

Generated using TypeDoc