Skip to content

Commit fce1554

Browse files
committed
Cleanup of cell variables
Signed-off-by: worksofliam <[email protected]>
1 parent 9481b52 commit fce1554

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/notebooks/logic/chartJs.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@ export type ChartJsType = `bar` | `line` | `doughnut` | `pie` | `polarArea` | `r
66
export const chartJsTypes: ChartJsType[] = [`bar`, `line`, `doughnut`, `pie`, `polarArea`, `radar`];
77

88
export function generateChartHTMLCell(id: number, detail: ChartDetail, labels: string[], datasets: Dataset[]): string {
9-
const chartData: ChartData = {
10-
labels,
11-
datasets,
12-
};
13-
14-
const hasYaxis = detail.type === `bar` || detail.type === `line`;
15-
169
const bodies = generateChartHTMLEmbedded(id, detail, labels, datasets, `message`);
1710

1811
return /*html*/`

0 commit comments

Comments
 (0)