我正在使用chart.js显示条形图。我已经用我的标签和数据集创建了一个对象,但是由于某种原因,没有显示任何图表,我不知道为什么。 目前,图表数据只是为了测试图表的工作情况。surveyResults[0].savings = totalSaving;
let chartResults = new Chart
我正在尝试将一个名为chartjs- plugin -annotation (https://github.com/chartjs/chartjs-plugin-annotation)的chartjs插件添加到我的vue-chartjs项目中。在我的BarChart.vue文件中,我首先导入了chartjs注解插件 <script>import chartjsPluginAnnotation from "chartjs-plugin-annotation";
c
我正在尝试使用chart.js测试饼图。我在chart.js文件中得到'cannot read property of 'length‘和'initialize’。document).ready(function() {
var myPieChart = new Charthtml lang="en">