I'm using a dojo chart to display data in a bubble chart. However, I don't need the axis but if I remove the axis, it screws up the display of the data. I can fudge axis not being there by hiding labels and coloring the lines white but then there's still this large margin on the left and bottom of the chart. How do you make a dojo chart without the axis while still having the min/max set correctly?

有帮助吗?

解决方案

chart1.addAxis("x",{ type : 'Invisible' /*, .... */ });

其他提示

Matthew, if you are still looking to tweak the margins, the solution here: dojox charting: remove the padding around the chart worked for me.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top