<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ### **關系圖支持3種數據形式:** ### **1. SQL數據** 使用SQL形式,可直接連接數據庫,將SQl種的數據篩選并顯示在圖表上。 點擊報表編輯器右側的操作欄,點擊“數據”,選擇"數據類型"為“SQL數據集”,按步驟操作即可,下邊講解一下各個參數的意思: ``` 備注: 關系圖需要綁定兩個數據集; ``` * 綁定數據集:是左側綁定過的數據集,可選擇任意一個SQL類型的數據集,主要顯示節點數據; * 分類屬性:是X軸綁定數據庫的字段; * 值屬性:是Y軸綁定數據庫的字段; * 系列類型:數據類型字段; * 綁定節點關系數據集:綁定的另一個數據集,主要是顯示對應關系; * 來源屬性:關系數據集中來源字段; * 目標屬性:關系數據集中目標字段,來源和目標字段字段是為了顯示關系線; ![](https://img.kancloud.cn/c3/7f/c37fb801d7a13f3541b1b30654363678_1435x806.png) ![](https://img.kancloud.cn/72/9f/729fc64c268a78965a5658529f8784cf_800x28.png) #### **數據庫配置字段如下:** ![](https://img.kancloud.cn/f7/ac/f7ac7574403b254da99155155c0f8b37_874x449.png) ![](https://img.kancloud.cn/72/9f/729fc64c268a78965a5658529f8784cf_800x28.png) ### **2. 靜態API數據** 報表綁定的數據可以是靜態API的形式。 點擊報表編輯器右側的操作欄,點擊“數據”,選擇"數據類型"為“Api數據集”,“Api類型”選擇“靜態數據”,點擊“數據值”,輸入靜態類型即可,如: ``` { "data":[ {"name":"測試0","value":28,"type":"北航"}, {"name":"測試1","value":9,"type":"南航"}, {"name":"測試2","value":23,"type":"東航"}, {"name":"測試3","value":8,"type":"西航"}, {"name":"測試4","value":8,"type":"中航"}, {"name":"測試5","value":8,"type":"南航"} ], "links":[ {"source":"測試1","target":"測試0"}, {"source":"測試2","target":"測試0"}, {"source":"測試3","target":"測試1"}, {"source":"測試4","target":"測試1"}, {"source":"測試4","target":"測試2"}, {"source":"測試2","target":"測試3"}, {"source":"測試3","target":"測試2"}, {"source":"測試3","target":"測試1"}, {"source":"測試2","target":"測試1"}, {"source":"測試2","target":"測試4"}, {"source":"測試5","target":"測試0"}, {"source":"測試4","target":"測試0"}, {"source":"測試4","target":"測試1"}, {"source":"測試4","target":"測試2"}, {"source":"測試1","target":"測試0"}, {"source":"測試1","target":"測試4"}, {"source":"測試1","target":"測試3"}, {"source":"測試3","target":"測試0"}, {"source":"測試5","target":"測試1"}, {"source":"測試5","target":"測試4"} ]} ``` ![](https://img.kancloud.cn/7f/e6/7fe6095600aa0e337f9046c30ddcf0d4_1226x540.png) ![](https://img.kancloud.cn/d7/8b/d78bc2ddfbcd473208b62421972ba2bf_807x34.png) ### **3. 動態API數據** 綁定的數據也可以是動態API的形式。 點擊報表編輯器右側的操作欄,點擊“數據”,選擇"數據類型"為“Api數據集”,“Api類型”選擇“動態數據”,選擇“綁定數據集”,點擊“運行”,就可以將數據渲染過來,代碼如: ``` { "data":[ {"name":"測試0","value":28,"type":"北航"}, {"name":"測試1","value":9,"type":"南航"}, {"name":"測試2","value":23,"type":"東航"}, {"name":"測試3","value":8,"type":"西航"}, {"name":"測試4","value":8,"type":"中航"}, {"name":"測試5","value":8,"type":"南航"} ], "links":[ {"source":"測試1","target":"測試0"}, {"source":"測試2","target":"測試0"}, {"source":"測試3","target":"測試1"}, {"source":"測試4","target":"測試1"}, {"source":"測試4","target":"測試2"}, {"source":"測試2","target":"測試3"}, {"source":"測試3","target":"測試2"}, {"source":"測試3","target":"測試1"}, {"source":"測試2","target":"測試1"}, {"source":"測試2","target":"測試4"}, {"source":"測試5","target":"測試0"}, {"source":"測試4","target":"測試0"}, {"source":"測試4","target":"測試1"}, {"source":"測試4","target":"測試2"}, {"source":"測試1","target":"測試0"}, {"source":"測試1","target":"測試4"}, {"source":"測試1","target":"測試3"}, {"source":"測試3","target":"測試0"}, {"source":"測試5","target":"測試1"}, {"source":"測試5","target":"測試4"} ]} ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看