Skip to content

Commit

Permalink
Fix the cumulative line chart - add explicit ordering, thanks Gordon!
Browse files Browse the repository at this point in the history
  • Loading branch information
kum-deepak committed Nov 2, 2020
1 parent df993a6 commit 86ff68a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web-src/examples/pareto-chart.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
.yAxisLabel("The Y Axis")
.legend(dc.legend().x(80).y(20).itemHeight(13).gap(5))
.renderHorizontalGridLines(true)
.ordering(kv => -kv.value.value)
.compose([
dc.barChart(chart)
.dimension(dim_)
Expand Down

0 comments on commit 86ff68a

Please sign in to comment.