Skip to content

Commit

Permalink
Closes bug fgpv-vpgf#328
Browse files Browse the repository at this point in the history
  • Loading branch information
raviinder committed Jan 5, 2022
1 parent 74df18e commit 4c4b786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chart/src/chart-line.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export class ChartLine {
// we have a slider to refine the graph by years
this.data = ChartLoader.parse(layerData, attrs, colors, xType);
const datasets = this.data.datasets
this.data.datasets = _.orderBy(datasets,['label'],['desc'])
this.data.datasets = _.orderBy(datasets, ['label'], ['desc'])
// for each dataset, set options
for (let [i, dataset] of this.data.datasets.entries()) {
// convert data to number
Expand Down

0 comments on commit 4c4b786

Please sign in to comment.