Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-NRCan committed Nov 30, 2023
1 parent 3f71ed1 commit 640cafd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 68 deletions.
70 changes: 7 additions & 63 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,7 @@
sourceItem: {
Location_Emplacement: "Quebec"
}
}],
chartjsOptions: {
responsive: true,
plugins: {
legend: {
display: false,
}
}
}
}]
};

const DATA_INPUT_LINE_2 = {
Expand Down Expand Up @@ -178,15 +170,7 @@
sourceItem: {
Location_Emplacement: "Quebec"
}
}],
chartjsOptions: {
responsive: true,
plugins: {
legend: {
display: false,
}
}
}
}]
};

const DATA_INPUT_LINE_3 = {
Expand Down Expand Up @@ -221,15 +205,7 @@
display: "Lake info 1",
}, {
display: "Lake info 2",
}],
chartjsOptions: {
responsive: true,
plugins: {
legend: {
display: false,
}
}
}
}]
};

const DATA_INPUT_2 = {
Expand Down Expand Up @@ -321,15 +297,7 @@
OBJECTID: 56880
}
]
}],
chartjsOptions: {
responsive: true,
plugins: {
legend: {
display: false
}
}
}
}]
};

const DATA_INPUT_3 = {
Expand Down Expand Up @@ -413,15 +381,7 @@
OBJECTID: 56880
}
]
}],
chartjsOptions: {
responsive: true,
plugins: {
legend: {
display: false
}
}
}
}]
};

const DATA_INPUT_4 = {
Expand Down Expand Up @@ -505,15 +465,7 @@
OBJECTID: 56880
}
]
}],
chartjsOptions: {
responsive: true,
plugins: {
legend: {
display: false
}
}
}
}]
};

const DATA_INPUT_5 = {
Expand Down Expand Up @@ -596,15 +548,7 @@
"label": "Basketball",
"location": "Montreal"
}]
}],
chartjsOptions: {
responsive: true,
plugins: {
legend: {
display: false,
}
}
}
}]
};

const OPTIONS_NATIVE_1 = {
Expand Down
10 changes: 5 additions & 5 deletions src/chart-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,13 @@ export type GeoChartDefaultColors = {
* Options for the Slider Axis component
*/
export type GeoChartOptionsAxis = {
type: 'linear' | 'logarithmic' | 'category' | 'time' | 'timeseries' | undefined;
property: string;
label: string;
tooltipSuffix: string;
type?: 'linear' | 'logarithmic' | 'category' | 'time' | 'timeseries';
label?: string;
usePalette?: boolean;
paletteBackgrounds: string[];
paletteBorders: string[];
paletteBackgrounds?: string[];
paletteBorders?: string[];
tooltipSuffix?: string;
};

/**
Expand Down

0 comments on commit 640cafd

Please sign in to comment.