-->

dc.js - queries related to axis

2019-09-07 05:15发布

问题:

I have some queries with the axis in dc.js.

I'm using line and row chart.

How can i arrange the row chart labels in a different order?

And how can I set the y-axis of a line chart to start to 20 or 30 or 50 instead of 0.

Can some help me in this?

Fiddle I wanted to make the y axis to start from 200 in the line chart.

And also help me in how to arrange the row chart in order of a week. i.e., monday, tuesday and so on.

回答1:

I found it. I was so stupid that d3.scale.linear didn't flash. Finally did it using .(d3.scale.linear().domain([50, 500]))