Skip to content

Commit

Permalink
BarElement?
Browse files Browse the repository at this point in the history
  • Loading branch information
reneklacan committed Feb 10, 2024
1 parent 36c6296 commit ff04dc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/widgets/GameLengthChart.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// @ts-nocheck

import { onMount } from "solid-js"
import { Bar, Chart, Colors, Title, Tooltip, type ChartOptions, type ChartData } from "chart.js"
import { BarElement, Chart, Colors, Title, Tooltip, type ChartOptions, type ChartData } from "chart.js"
import { DefaultChart } from "solid-chartjs"

Chart.register(Title, Tooltip, Colors, Bar)
Chart.register(Title, Tooltip, Colors, BarElement)

type GameLengthProps = {
data: Array[]
Expand Down

0 comments on commit ff04dc6

Please sign in to comment.