diff --git a/src/renderer/components/chart/background-block.plugin.ts b/src/renderer/components/chart/background-block.plugin.ts index 3e9c1765ac..c9c170ff29 100644 --- a/src/renderer/components/chart/background-block.plugin.ts +++ b/src/renderer/components/chart/background-block.plugin.ts @@ -1,4 +1,4 @@ -import ChartJS from "src/renderer/components/chart/chart.js"; +import ChartJS from "chart.js"; import get from "lodash/get"; const defaultOptions = { diff --git a/src/renderer/components/chart/bar-chart.tsx b/src/renderer/components/chart/bar-chart.tsx index 80719d488c..56d7d95999 100644 --- a/src/renderer/components/chart/bar-chart.tsx +++ b/src/renderer/components/chart/bar-chart.tsx @@ -2,7 +2,7 @@ import React, { useEffect, useRef } from "react"; import merge from "lodash/merge"; import moment from "moment"; import Color from "color"; -import { ChartData, ChartOptions, ChartPoint, Scriptable } from "src/renderer/components/chart/chart.js"; +import { ChartData, ChartOptions, ChartPoint, Scriptable } from "chart.js"; import { Chart, ChartKind, ChartProps } from "./chart"; import { bytesToUnits, cssNames } from "../../utils"; import { ZebraStripes } from "./zebra-stripes.plugin"; diff --git a/src/renderer/components/chart/zebra-stripes.plugin.ts b/src/renderer/components/chart/zebra-stripes.plugin.ts index 67c1fc298e..8b3af6571c 100644 --- a/src/renderer/components/chart/zebra-stripes.plugin.ts +++ b/src/renderer/components/chart/zebra-stripes.plugin.ts @@ -1,7 +1,7 @@ // Plugin for drawing stripe bars on top of any timeseries barchart // Based on cover DIV element with repeating-linear-gradient style -import { ChartPoint, default as ChartJS } from "src/renderer/components/chart/chart.js"; +import ChartJS, { ChartPoint } from "chart.js"; import moment, { Moment } from "moment"; import get from "lodash/get";