@carbon/charts-svelte
Version:
Carbon Charts component library for Svelte
36 lines (35 loc) • 891 B
TypeScript
import { SvelteComponentTyped } from 'svelte'
import {
ScatterChart as ScatterChartCore,
type ScatterChartOptions,
type ChartTabularData
} from '@carbon/charts'
declare const __propDef: {
props: {
[x: string]: any
options: ScatterChartOptions
data: ChartTabularData
chart?: ScatterChartCore | undefined
ref?: HTMLDivElement | undefined
}
events: {
load: CustomEvent<null>
update: CustomEvent<{
data: ChartTabularData
options: import('@carbon/charts').BaseChartOptions
}>
destroy: CustomEvent<null>
} & {
[evt: string]: CustomEvent<any>
}
slots: {}
}
export type ScatterChartProps = typeof __propDef.props
export type ScatterChartEvents = typeof __propDef.events
export type ScatterChartSlots = typeof __propDef.slots
export default class ScatterChart extends SvelteComponentTyped<
ScatterChartProps,
ScatterChartEvents,
ScatterChartSlots
> {}
export {}