claritykit-svelte
Version:
A comprehensive Svelte component library focused on accessibility, ADHD-optimized design, developer experience, and full SSR compatibility
53 lines • 1.56 kB
TypeScript
interface ScatterDataPoint {
x: number;
y: number;
label?: string;
size?: number;
color?: string;
}
interface Props {
width?: number;
height?: number;
margin?: {
top: number;
right: number;
bottom: number;
left: number;
};
data?: ScatterDataPoint[];
xLabel?: string;
yLabel?: string;
showGrid?: boolean;
showXAxis?: boolean;
showYAxis?: boolean;
showTooltip?: boolean;
animate?: boolean;
duration?: number;
pointSize?: number;
pointColor?: string;
xAxisFormat?: (d: any) => string;
yAxisFormat?: (d: any) => string;
ariaLabel?: string;
ariaDescription?: string;
}
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
$$bindings?: Bindings;
} & Exports;
(internal: unknown, props: Props & {
$$events?: Events;
$$slots?: Slots;
}): Exports & {
$set?: any;
$on?: any;
};
z_$$bindings?: Bindings;
}
declare const ScatterChart: $$__sveltets_2_IsomorphicComponent<Props, {
pointClick: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
}, {}, {}, "">;
type ScatterChart = InstanceType<typeof ScatterChart>;
export default ScatterChart;
//# sourceMappingURL=ScatterChart.svelte.d.ts.map