Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angularjs 当我使用RotateLabelDistance以角度nvd3旋转x轴上的刻度时,axisLabelDistance属性不起作用_Angularjs_Nvd3.js_Angularjs Nvd3 Directives - Fatal编程技术网

Angularjs 当我使用RotateLabelDistance以角度nvd3旋转x轴上的刻度时,axisLabelDistance属性不起作用

Angularjs 当我使用RotateLabelDistance以角度nvd3旋转x轴上的刻度时,axisLabelDistance属性不起作用,angularjs,nvd3.js,angularjs-nvd3-directives,Angularjs,Nvd3.js,Angularjs Nvd3 Directives,我使用一个简单的折线图使用角度nvd3,我使用日期作为x轴上的记号,我想在记号和轴标签之间留出一些空间。为此,我使用axisLabelDistance:100,来保持间隙,它工作正常。我的问题是,当我使用rotateLabels:15旋转x轴刻度时,axisLabelDistance停止工作 下面是一个例子 我需要在刻度和轴标签之间再留一些间隙。 谢谢

我使用一个简单的折线图使用角度nvd3,我使用日期作为x轴上的记号,我想在记号和轴标签之间留出一些空间。为此,我使用
axisLabelDistance:100,
来保持间隙,它工作正常。我的问题是,当我使用
rotateLabels:15
旋转x轴刻度时,
axisLabelDistance
停止工作

下面是一个例子

我需要在刻度和轴标签之间再留一些间隙。 谢谢