如何使用 chart 图表组件

效果图: 安装: cnpm install --save chart.js 使用: 首先,在<template></template>中写入: <div class="chart-container" style="position: relative;width: 550px;height: 335px;margin: auto"> <canvas id="lineChart" widt
相关文章
相关标签/搜索