dc.js sort ordinal line chart by y axis/value

前端 未结 3 1088
情话喂你
情话喂你 2020-12-10 20:04

I have a dc.js ordinal chart whose x-axis consists of things like \'Cosmetics\' and the y-axis is the number of sales. I want to sort the chart by sales decreasing, however

3条回答
  •  时光取名叫无心
    2020-12-10 20:36

    No doubt this is a bug.

    As a workaround, you could sort the data yourself instead of using the ordering function, as described in the FAQ.

    I filed a bug report: https://github.com/dc-js/dc.js/issues/598

提交回复
热议问题