D3.js 角度NVD3库错误
我正在使用NVD3库,我添加了到我需要的库的链接。我有v3 for D3和angular NVD3链接,但是图表没有呈现,我得到了如下错误 以下是我的索引文件中的链接:D3.js 角度NVD3库错误,d3.js,error-handling,nvd3.js,angular-nvd3,D3.js,Error Handling,Nvd3.js,Angular Nvd3,我正在使用NVD3库,我添加了到我需要的库的链接。我有v3 for D3和angular NVD3链接,但是图表没有呈现,我得到了如下错误 以下是我的索引文件中的链接: <script src="https://d3js.org/d3.v3.min.js"></script> <script src="https://cdn.rawgit.com/novus/nvd3/v1.8.1/build/nv.d3.js</script> <scrip
<script src="https://d3js.org/d3.v3.min.js"></script>
<script src="https://cdn.rawgit.com/novus/nvd3/v1.8.1/build/nv.d3.js</script>
<script src="dist/angularjs-nvd3-directives.js"></script>
有人对如何解决这个问题有什么想法吗
示例代码
<nvd3-multi-bar-chart data='data'
height="400" showXAxis="true" showYAxis="true" showLegend="true"
xAxisLabel="xAxisLabel" yAxisLabel="yAxisLabel"
yAxisTickFormat="yAxisTickFormatFunction()" legendPosition="left"
stacked="true" interactive="true" showControls="false" showValues="true "
tooltips="false" tooltipcontent="toolTipContentFunction()" padding="50">
<svg></svg>
</nvd3-multi-bar-chart>
请用代码编辑您的帖子,脚本标签不够。似乎delay
不是nv.models.multiBarChart()的函数。请用代码编辑您的帖子,脚本标签不够。似乎delay
不是nv.models.multiBarChart()的函数。
<nvd3-multi-bar-chart data='data'
height="400" showXAxis="true" showYAxis="true" showLegend="true"
xAxisLabel="xAxisLabel" yAxisLabel="yAxisLabel"
yAxisTickFormat="yAxisTickFormatFunction()" legendPosition="left"
stacked="true" interactive="true" showControls="false" showValues="true "
tooltips="false" tooltipcontent="toolTipContentFunction()" padding="50">
<svg></svg>
</nvd3-multi-bar-chart>