chart: locally installed library

This commit is contained in:
AdrienLSH 2024-03-04 10:42:17 +01:00
parent 239ca75736
commit d004c0ed1e
3 changed files with 3 additions and 23 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,9 @@
import { client, reloadView } from "../index.js"; import { client, reloadView, lang } from "../index.js";
import { Game } from "../api/game/Game.js"; import { Game } from "../api/game/Game.js";
import AbstractView from "./abstracts/AbstractView.js"; import AbstractView from "./abstracts/AbstractView.js";
import { MyPlayer } from "../api/game/MyPlayer.js"; import { MyPlayer } from "../api/game/MyPlayer.js";
import { Player } from "../api/game/Player.js"; import { Player } from "../api/game/Player.js";
import { lang } from "../index.js"; import "../chartjs/chart.umd.min.js";
import "https://cdn.jsdelivr.net/npm/chart.js@4.4.1/dist/chart.umd.min.js";
import { get_labels, transformData } from "../utils/graph.js"; import { get_labels, transformData } from "../utils/graph.js";
import { sleep } from "../utils/sleep.js"; import { sleep } from "../utils/sleep.js";