<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,height=device-height">
<title>分组柱状图+折线图双轴图表</title>
<style>::-webkit-scrollbar{
display:none;}html,body{
overflow:hidden;height:100%;margin:0;}
#chartcontainer {
margin: 50px auto;
text-align: center;
}
</style>
</head>
<body>
<div id="chartcontainer"></div>
<script>/*Fixing iframe window.innerHeight 0 issue in Safari*/document.body.clientHeight;</script>
<script src="https://gw.alipayobjects.com/os/lib/antv/g2/4.2.8/dist/g2.min.js"></script>
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.data-set-0.11.1/dist/data-set.js"></script>
<script>
<!-- 浏览器引入,请使用全局命名空间 G2,如 new Chart
Antv/G2 分组柱状图+折线图双轴图表
最新推荐文章于 2024-08-19 17:04:41 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)