【发布时间】:2016-11-22 08:22:06
【问题描述】:
我想将 x 轴标签旋转 90 度,因为它们相互重叠。我使用了rotateLabels,但它不是wotking
<nvd3-line-chart
data="singleLineChartData"
id="singleLineChart"
width="800"
height="200"
showXAxis="true"
showYAxis="true"
tooltips="true"
interactive="true"
rotateLabels="90"
useinteractiveguideline="true"
xAxisTickValues="xAxisTickValuesFunction()"
xAxisTickFormat="xAxisTickFormat()"
color="colorFunction()"
isArea="false"
margin="{left:50,top:50,bottom:50,right:50}"
showLegend="true"
legendColor="colorFunction()"
noData="No Data!">
<svg></svg>
</nvd3-line-chart>
【问题讨论】:
标签: javascript angularjs d3.js svg nvd3.js