javascript - 包括 iframe 链接的圆环图
问题描述
我想创建一个链接到嵌入在圆环图中的这个 iframe {''},例如在“Task En cours”中单击 iframe 时出现这是我用于构建圆环图的代码,它可以正常工作,但问题是我无法在其中插入 iframe 代码。如果有人知道我该怎么做,请告诉我怎么做。
<PieChart
:src="$sources.AsaStatut"
:options="{
title: {
$text: function(dataset) {
return dataset.sumBy('asaNombre').value() + '\n{sub|Total}'
},
x: 'center',
y: 'center',
textStyle: {
fontSize: 32,
color: '#444',
fontFamily: 'SourceSansProRegular, roboto, sans-serif',
lineHeight: 24,
rich: {
sub: {
color: '#D5D6D8',
fontSize: 16
}
}
},
itemStyle: {
}
},
legend: {
data: [
'ASA En cours',
'ASA Validé'
],
bottom: 0,
selected: {
'Key not in scope': false
}
},
series: [
{
$data: { value: 'asaNombre', name: 'Statut' },
radius: ['55%', '70%'],
color: [ '#DA353B','#19B772'],
label: {
normal: {
show: false
}
}
}
]
}"
/>
谢谢。
解决方案
推荐阅读
- java - Java AWT Graphics2D drawString 方法不适用于阿拉伯文本
- image - 在线设计sharepoint页面相关的查询
- python - TensorFlow 单层网络 Conv2d;无效参数:转置需要大小为 3 的向量。但 input(1) 是大小为 4 的向量
- azure-devops - 我可以为多个服务使用相同的 devops 存储库吗?
- python-3.x - Youtube-dl facebook 视频在远程服务器中询问登录详细信息?
- mysql - 我怎样才能把我的查询变成一个续集查询?
- angular - 在让孩子使用 routeConfig 时面临问题
- c# - 利用 HtmlAgilityPack 中的 HtmlDocument 对象的最佳方式?
- python - 分页不适用于基本的网络爬虫
- scala - 为什么我可以在 Future.traverse 的第一个参数中使用 `to`,而不能使用 `until`?