Skip to content

Commit

Permalink
tools/letter_count: update to highcharts 12
Browse files Browse the repository at this point in the history
  • Loading branch information
theonlypwner committed Dec 2, 2024
1 parent 35fad5e commit c3d37e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/tools/letter_count/ChartBar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const ChartBar: ChartBase = {
},
tooltip: {
formatter () {
const c = this.point.name ?? this.x
const c = this.name ?? this.x
const count = this.y

return c + ' found ' + (count === 1 ? 'once' : count + ' times')
Expand Down
2 changes: 1 addition & 1 deletion scripts/tools/letter_count/ChartPie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const ChartPie: ChartBase = {
},
tooltip: {
formatter () {
return (this.point as any).label
return (this as any).label
},
borderWidth: 3,
borderRadius: 6,
Expand Down

0 comments on commit c3d37e1

Please sign in to comment.