云图连接数据源
组件放置完毕后,选中需要添加数据源的组件,单击右侧数据,为组件添加数据源,添加成功后可以立刻看到组件中数据的变化。
目前腾讯云图数据可视化支持接入静态数据、上传表格文件、数据库和 API 四类数据源。
![](https://qcloudimg.tencent-cloud.cn/image/document/5659433b3ce8ed28c81d674d7c3b995b.png)
![](https://qcloudimg.tencent-cloud.cn/image/document/5659433b3ce8ed28c81d674d7c3b995b.png)
云图控制台/数据可视化大屏/可视化/大屏/组件/数据/数据源管理
云图控制台/管理中心/数据源
![](https://qcloudimg.tencent-cloud.cn/image/document/bbc968f358fdf3810206b77a112c411d.png)
![](https://qcloudimg.tencent-cloud.cn/image/document/d544c7067b89cb2fa6598c9deddc14d3.png)
![](https://qcloudimg.tencent-cloud.cn/image/document/bbc968f358fdf3810206b77a112c411d.png)
![](https://qcloudimg.tencent-cloud.cn/image/document/d544c7067b89cb2fa6598c9deddc14d3.png)
![](https://qcloudimg.tencent-cloud.cn/image/document/055e22bb98d25eb1a9dc14cd02e8bc48.png)
![](https://qcloudimg.tencent-cloud.cn/image/document/055e22bb98d25eb1a9dc14cd02e8bc48.png)
![](https://qcloudimg.tencent-cloud.cn/image/document/1324ca0f1bec1eb9f6142effe1133bae.png)
![](https://qcloudimg.tencent-cloud.cn/image/document/1324ca0f1bec1eb9f6142effe1133bae.png)
腾讯云 BI 连接数据源
进入到项目空间页面后,因为示例看板相关的数据存储在 MySQL 数据库中,所以首先需要连接到该数据源。
单击项目空间的数据 > 数据源 tab,然后单击新建数据源,选择自有数据源。
![](https://qcloudimg.tencent-cloud.cn/image/document/2b3ecb4cb6d6c706e8872a6c609db1d5.png)
![](https://qcloudimg.tencent-cloud.cn/image/document/2b3ecb4cb6d6c706e8872a6c609db1d5.png)
输入以下连接参数:
![](https://qcloudimg.tencent-cloud.cn/image/document/cfba8d044887af2da39fc42b38600098.png)
![](https://qcloudimg.tencent-cloud.cn/image/document/cfba8d044887af2da39fc42b38600098.png)
连接参数确认无误后,单击一键测试按钮,显示“数据库连接成功”文字信息即成功连接到数据源。
![](https://qcloudimg.tencent-cloud.cn/image/document/9d846f67369325e2e04c05cf7130be31.png)
![](https://qcloudimg.tencent-cloud.cn/image/document/9d846f67369325e2e04c05cf7130be31.png)