-import { ChartArea, PointStyle } from '../index.esm';
+import { PointStyle } from '../index.esm';
+import { ChartArea } from '../geometric';
/**
* Clears the entire canvas associated to the given `chart`.
* }
*/
+import { ChartArea, Point } from './geometric';
+export { ChartArea, Point } from './geometric';
+
export interface ParsingOptions {
/**
* How to parse the dataset. The parsing can be disabled by specifying parsing: false at chart options or dataset. If parsing is disabled, data must be sorted and in the formats the associated chart type and scales use internally.
x: number | null;
y: number | null;
}
-
-export interface Point {
- x: number;
- y: number;
-}
-
export interface ChartComponent {
id: string;
defaults?: any;
export type TimeUnit = 'millisecond' | 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year';
-export interface ChartArea {
- top: number;
- left: number;
- right: number;
- bottom: number;
-}
-
export interface ScriptableContext {
chart: Chart;
dataPoint: any;