首页 > 解决方案 > 包括 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
                }
            }
          }
        ]
      }"
    />

谢谢。

标签: javascriptiframechartsreportingbusiness-intelligence

解决方案


推荐阅读