Skip to content

Commit

Permalink
Fixed xAxis auto-labels for MultiColumnChart
Browse files Browse the repository at this point in the history
  • Loading branch information
asantibanez committed Feb 18, 2022
1 parent 8bfdaa1 commit 27198d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/js/multiColumnChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const multiColumnChart = () => {

const categories = component.get('columnChartModel.xAxis.categories').length > 0
? component.get('columnChartModel.xAxis.categories')
: []
: data[series[0].name].map(item => item.title)
;

const options = {
Expand Down

0 comments on commit 27198d1

Please sign in to comment.