apexcharts - 组合图表顶点图表中的自定义位置
问题描述
我需要一个自定义组合图表区域 + 列。
面积图需要在柱形图上重叠,如下图所示。
现在柱形图总是在区域上重叠
这是我的图表选项:
chartOptions = {
series: [
{
type: "area",
data: [],
name: 'Objects Processed',
},
{
type: "column",
data: [],
name: 'Objects Blocked'
}
],
chart: {
height: 350,
width: '100%',
type: "line",
stacked: false,
toolbar: {
show: false
}
},
stroke: {
width: [1.5, 0],
curve: "straight",
colors: ["#194CA7", "#FFF"]
},
fill: {
type: ['gradient', "solid"],
opacity: [1, 1],
gradient: {
inverseColors: false,
shade: "light",
type: "vertical",
opacityFrom: 0.7,
opacityTo: 0.1,
stops: [5, 100]
}
}
}
解决方案
推荐阅读
- python - 单击表格 qtableWidget 的空白区域
- php - 如何从 MyAccount 导航中删除 WooCommerce 智能优惠券添加的菜单项
- javascript - 表示不等式比较限制的 Javascript 数字
- r - 处理 R 函数中缺失的因子水平
- java - 位置监听器没有运行我的 onLocationChanged
- mongodb - 我如何在猫鼬聚合上用 $ne 编译 $cond
- docker - 为什么我的符号链接没有链接,而是在我试图链接的目录中创建一个文件
- swiftui - 使用 .position() 放置时更改视图的锚点
- docker - Docker:如何从所有远程注册表中注销?
- sql-server - 对预先计算的数据进行简单计算的视图的性能影响