문제

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