正在生成
详细信息:
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
创建。 字段 在“数据>维度/度量”选择需要的字段双击或拖拽至字段内。 在数据列内的维度和度量列表内找到需要的数据字段拖拽至“字段>过滤”。 单击过滤内的需要设置过滤字段上的,进入设置过滤器页面。 过滤参数设置完成后,单击“确认”完成过滤参数设置。 表1 过滤器参数 字段类型 参数
在数据列选择数据集。 设置字段、样式、高级相关参数。 单击“更新”,系统自动更新图表。 图1 甘特图 单击右侧的“保存”或“保存并发布”,保存图表组成的仪表板。 字段 在“数据>维度/度量”选择需要的字段双击或拖拽至字段内。 在数据列内的维度和度量列表内找到需要的数据字段拖拽至“字段>过滤”。
选项/维度、控件变量。 字段 iFrame:链接用户自己输入。 单选下拉框/多选下拉框: 在“数据”标签页选择数据集,并将所需的“维度”、“度量”双击或拖拽至“字段”标签页。 设置过滤 在数据列内的维度和度量列表内找到需要的数据字段。 单击过滤内的需要设置过滤字段上的,进入设置过滤器页面。
最大长度:128 data_type String 字段类型:STRING|DATE|DATETIME。 枚举值: STRING|DATE|DATETIME expansion_type Integer 扩展字段类型:0-普通扩展字段;1-聚合扩展字段。 最小值:0 最大值:1 id String
单击“SQL编辑”,在SQL编辑页可以对SQL语句进行编辑修改。 SQL编辑器提供了格式化工具,可以对您输入的SQL语句格式化。 支持设置SQL参数,参数说明请参考设置SQL参数。 图2 配置字段 单击“运行”,测试运行成功后,您可以在运行页签看到运行后的数据。 单击“完成并退出”,保存修改后的数据集。 父主题: 创建数据集
图组件为例,更多组件的使用请参考数据大屏章节。 配置组件字段和样式。 配置组件字段 在数据列选择需要的数据集。 将需要的类别轴/维度和轴值/度量分别拖拽至“字段 >类别轴/维度和轴值/度量”内。 单击“更新”,完成组件字段配置。 配置组件样式 单击“折线柱图 > 样式”。 在样式页面对组件的样式进行配置。
面。 在仪表板右侧数据列下选择需要的数据集。 数据选择完成后,选择需要的可视化控件。 将所需的数据集字段从数据列下的维度或度量拖拽至可视化控件页面设置字段下。 图1 选择字段 字段选择完成后,单击“更新”图表自动完成数据更新。 保存仪表板或保存并发布仪表板。 单击右侧的“保存”,
日期下的子类型,比如年、月、日等。 最小长度:0 最大长度:128 cell_raw_value Object 字段原始值。 cell_value Object 字段格式化后的值。 model_type String 字段类型。 dimension:维度。 measure:度量。 metric:指标。 最小长度:0
在大屏页面右侧数据配置区域选择数据集。 设置字段、样式相关参数。 单击“更新”,系统自动更新图表。 图1 多图层地图 字段 在“数据”标签页选择数据集,并将所需的“维度”、“度量”双击或拖拽至“字段”标签页。 设置过滤 在数据列内的维度和度量列表内找到需要的数据字段。 单击过滤内的需要设置过滤字段上的,进入设置过滤器页面。
单击“可视化配置”,设置字段名称的含义,便于后续的智能化分析中理解字段含义。 图3 可视化配置 依次单击“数据预览” 和“刷新预览”查看关联后的数据集数据的基本信息。 图4 数据预览 单击“保存”完成数据集的创建。 您可以按需设置字段名称、字段的聚合方式等信息,更多数据集字段设置的方法请参考多表关联建模。
最大长度:128 update_date Long 修改时间。 最小值:0 最大值:9223372036854774807 update_user String 修改人ID。 最小长度:0 最大长度:128 update_user_name String 修改人姓名。 最小长度:0 最大长度:128
折线柱图为例进行介绍如何创建并配置大屏组件。 图7 双轴折线柱图示例 为所选组件选择对应的数据集,配置字段,将所需的字段从数据列拖拽至字段内。本示例以线状图为例。 图8 配置字段 配置图表样式,您可以通过以下的选项对图表进行自定义的配置。 全局样式:对图标上的字体进行调整。 柱子
媒体组件 拖动或单击媒体组件至画布区域。 在页面右侧配置字段和样式和交互相关信息。 完成字段和样式配置之后,单击大屏编辑页面右上侧的“保存并发布”或“保存”。 图表类型与说明 每种图表都有其适用场景和数据要素(即构成图表的字段)。下面为您介绍各种类型图表的使用场景、数据要素和样例展示。
当维度选择可视化级别时,默认关联所有维度。 筛选器 添加筛选规则。 单击“添加条件”。 选择筛选字段、筛选方式、固定值筛选条件和取值。 筛选字段:筛选需要设置规则的数据集的字段,支持筛选维度和度量字段,不支持多选,如需对其他字段配置规则请重复添加条件。 筛选方式:支持“条件筛选”、“枚举筛选”、“表达式筛选”。
建并配置大屏组件。 为所选组件选择对应的数据集,配置字段,将所需的字段拖拽至图表内。 单击“更新”,在画布上生成图表。 本例查看购买商品的用户中不同等级用户的分布情况。您还可以通过样式选项对图表进行自定义的配置。 图2 配置字段 场景示例 基于“联动”功能实现两个数据大屏之间的跳
瑰图为例进行介绍如何创建并配置大屏组件。 为所选组件选择对应的数据集,配置字段,将所需的字段拖拽至图表内。 单击“更新”,在画布上生成图表。 本例查看购买商品的用户中不同等级用户的分布情况。 图2 配置字段 您还可以通过样式选项对图表进行自定义的配置。 步骤3:发布大屏 完成大屏的编辑后,单击右上角“保存并发布”。
Resource由<服务名:region:domainId:资源类型:资源路径>5个字段组成,通配符号*表示所有资源。5个字段可以灵活设置,资源路径可以按照场景需要,设置不同级别的权限控制。当需要设置该服务下的所有资源时,可以不指定该字段。Resource定义请参考表3。 表3 Resource Resource
件页。 拖动或单击地图组件至画布区域,本示例以世界地图组件为操作对象。 在页面右侧数据选择数据集。 选择需要的地图组件 ,配置字段和样式。 完成地图的字段和样式配置之后,单击大屏编辑页面右上侧的“保存并发布”或“保存”。 父主题: 制作地图
参数 参数类型 描述 column_id String 字段ID 最小长度:0 最大长度:100 column_name String 字段名称 最小长度:0 最大长度:512 is_measure Boolean 是否为度量字段 execute_expression String 可执行函数表达式
创建SQL表 编辑表的关联关系。 当分析的模型复杂需要多张表进行关联,关联表关系支持对端点表进行选择。 图5 端点表选择 选择字段:按需选择数据表的字段。 选择关联关系: 左外连接:是以左表为基础,根据某种条件将两表连接起来。结果会将左表所有的查询信息列出,而右表只列出条件与左表满足的部分。