我cmaurer nvd3指令工作,angularjs,你可以看到它hereangularjs-nvd3,指令線圖蜱不起作用
我想改變x軸蜱數到3(開始,中間,結束日期),但nvd3滴答屬性(xaxisticks,xaxistickvalues)不起作用。
我甚至試圖使用unix時間戳,但沒有成功。 有什麼想法?
<nvd3-line-chart
...
xAxisTickFormat="xAxisTickFormatFunction()"
yAxisTickFormat="yAxisTickFormatFunction()"
xaxistickvalues="xAxisTickValuesFunction()" // not work
xaxisticks="3" // not work
showXAxis="true"
showYAxis="true"
interactive="true"
...
forcey="[]"
>
<svg></svg>
</nvd3-line-chart>