import L from 'leaflet'; import { BoundsDriftMarkerProps } from './BoundsDriftMarker'; import { NumberRange } from '../types/general'; import { ContainerStylesAddon, DependentAxisLogScaleAddon, MarkerScaleAddon } from '../types/plots'; interface ChartMarkerProps extends BoundsDriftMarkerProps, MarkerScaleAddon, DependentAxisLogScaleAddon { borderColor?: string; borderWidth?: number; data: { value: number; label: string; color?: string; }[]; isAtomic?: boolean; dependentAxisRange?: NumberRange | null; onClick?: (event: L.LeafletMouseEvent) => void | undefined; /** x-axis title for marker (defaults to sum of data[].value) */ markerLabel?: string; /** cumulative mode: when true, the total count shown will be the last value, not the sum of the values. * See cumulative prop in DonutMarker.tsx for context. */ cumulative?: boolean; } /** * this is a SVG histogram/chart marker icon * - no (drop) shadow * - no gap between bars * - accordingly icon size could be reduced */ export default function ChartMarker(props: ChartMarkerProps): JSX.Element; declare type ChartMarkerStandaloneProps = Omit & ContainerStylesAddon; export declare function ChartMarkerStandalone(props: ChartMarkerStandaloneProps): JSX.Element; export {}; //# sourceMappingURL=ChartMarker.d.ts.map