dc.js - queries related to axis

懵懂的女人 提交于 2019-12-12 04:39:46

问题


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]))



来源:https://stackoverflow.com/questions/21597790/dc-js-queries-related-to-axis

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!