apexcharts实现商品分类销量统计图表效果代码

代码语言:html

所属分类:图表

代码描述:apexcharts实现商品分类销量统计图表效果代码

代码标签: apexcharts 商品 分类 销量 统计 图表

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />

    <style>
        #chart{max-width:650px;margin:35px auto}
    </style>
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/apexcharts.3.28.1.js"></script>
</head>

<body>
    <div id="chart"></div>
    <script>
        var options = {
            series: [{
                name: 'Marine Sprite',
                data: [44, 55, 41, 37, 22, 43, 21]
            }, {
                name: 'Striking Calf',
                data: [53, 32, 33, 52, 13, 43, 32]
            }, {
                name: 'Tank Picture',
                data: [12, 17, 11, 9, 15, 11, 20]
            }, {
                name: 'Bucket Slope',
                data: [9, 7, 5, 8, 6, 9, 4]
            }, {
                name: 'Reborn Kid',
                data: [25, 12, 19, 32, 25, 24, 10]
            }],
            chart: {
                type: 'bar',
                height: 350,
          .........完整代码请登录后点击上方下载按钮下载查看

网友评论0