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.js"></script>
</head>

<body>
    <div id="chart"></div>
    <script>
        var options = {
            series: [{
                name: 'series1',
                data: [31, 40, 28, 51, 42, 109, 100]
            }, {
                name: 'series2',
                data: [11, 32, 45, 32, 34, 52, 41]
            }],
            chart: {
      .........完整代码请登录后点击上方下载按钮下载查看

网友评论0