Skip to content

Commit

Permalink
And...
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-NRCan committed Sep 28, 2023
1 parent de7c319 commit b1ff5a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 4 additions & 0 deletions src/chart/chart-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ import { ChartType, ChartData, ChartOptions, DefaultDataPoint } from 'chart.js';
export const EVENT_CHART_CHANGED: string = "chart/changed";
export const EVENT_CHART_PARSE: string = "chart/parse";

export type Toto = {
yo: string;
};

export type OptionsParameters = {
chart: ChartType;
featuresUsePalette?: boolean;
Expand Down
8 changes: 1 addition & 7 deletions src/chart/chart.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
// import { useEffect, useState } from 'react';
import { Box } from '@mui/material';
import { ChartType, ChartData, ChartOptions, DefaultDataPoint, Plugin } from 'chart.js';
import { ChartPayloadChanged, ChartPayloadParse, OptionsGeoChart, EVENT_CHART_CHANGED, EVENT_CHART_PARSE } from './chart-types';
import { ChartPayloadChanged, ChartPayloadParse, OptionsGeoChart, EVENT_CHART_CHANGED, EVENT_CHART_PARSE, Toto } from './chart-types';
import { formatGenericData, formatGenericOptions } from './chart-parser';
import { ChartDoughnut } from './charts/chart-doughnut';
import { ChartBarsVertical } from './charts/chart-bars-vertical';
import { ChartPie } from './charts/chart-pie';
import { ChartLine } from './charts/chart-line';
import styles from './chart.module.css';

export type Toto = {
yo: string;
};

export * from './chart-types';

console.log("geochart chart.tsx run");

/**
Expand Down

0 comments on commit b1ff5a5

Please sign in to comment.