> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xpertai.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# 树图

**树图** (Tree) 是一种利用包含关系表达层次化数据的可视化方法。 树图能将事物或现象分解成树枝状，又称树型图或系统图。

## 树图

选择图形类型为 **树图** (Tree), 并添加一个维度, 设置要展示的维度最细层级, 并设置其 **包含父级层级** 属性.

<img src="https://mintcdn.com/xpertai/Qps79FDII81ZU_Y9/public/img/widgets/tree/tree-attributes.png?fit=max&auto=format&n=Qps79FDII81ZU_Y9&q=85&s=acf8dfd1e84903582188e751a7b0c67e" alt="Small" width="806" height="689" data-path="public/img/widgets/tree/tree-attributes.png" />

这样此层次结构的成员数据关系将以树图的形式展现出来:

<img src="https://mintcdn.com/xpertai/Qps79FDII81ZU_Y9/public/img/widgets/tree/tree.png?fit=max&auto=format&n=Qps79FDII81ZU_Y9&q=85&s=ab39be42f40cfba2a233eea4160d5512" alt="Small Shadow" width="1195" height="1195" data-path="public/img/widgets/tree/tree.png" />

## 图形子类型

可以设置树图的方向为 **横向** 或 **纵向**, 还可以设置树图子类型 **反向** 或 **雷达**.

方向属性和反向类型组合使用可以展现四种方位的树图. 雷达树图的节点以雷达发射的形式展现出来:

<img src="https://mintcdn.com/xpertai/Qps79FDII81ZU_Y9/public/img/widgets/tree/tree-radial.png?fit=max&auto=format&n=Qps79FDII81ZU_Y9&q=85&s=b6da5462de2a01b83d88bf3053fff9a8" alt="Small Shadow" width="1195" height="1195" data-path="public/img/widgets/tree/tree-radial.png" />

## 示例

<iframe src="https://app.xpertai.cn/public/story/point/1098d7cc-e9db-4366-91c9-f774ef865478" width="100%" height="1000px" frameBorder="0" scrolling="no" allowFullScreen />
