标签: angularjs nvd3.js angularjs-nvd3-directives
我正在使用一个使用角度nvd3的简单折线图,我在x轴上使用日期作为刻度,我想要在刻度线和轴标签之间留出一些空格。为此,我使用axisLabelDistance: 100,来维持差距,并且工作正常。我的问题是,当我使用rotateLabels: 15旋转x轴刻度时,axisLabelDistance停止工作。
axisLabelDistance: 100,
rotateLabels: 15
axisLabelDistance
以下是示例plunkr
我需要在刻度线和轴标签之间留出更多空隙。 感谢