正在生成
详细信息:
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
UI类型介绍 本文介绍自定义组件支持的控件(组件样式配置项)。您可以通过gui.json文件中定义的type字段,来定义控件的类型和配置。 支持的Type类型 Type字段支持以下类型: input:文本输入框。 number:数值控件,支持输入,支持定制最大值、最小值等。
散点图 散点图用于展示数据的相关性和分布关系,由X轴和Y轴两个变量组成。通过因变量(Y轴数值)随自变量(X轴数值)变化的呈现数据的大致趋势,同时支持从类别和颜色两个维度观察数据的分布情况。
DataArts Insight的数据连接支持哪些类型? 当前数据连接支持入GaussDB(DWS)数据源、GaussDB数据源、MySQL数据源、PostgreSQL数据源、Doris数据源、ClickHouse数据源、API数据源、DLI数据源、Hive数据源。
在弹出页面,选择“切换图表类型”。 选择将要转化额图表类型,支持转换为仪表板除查询控件、页签、组合容器、智能图表的所有控件。 图1 切换图表类型 单击所选控件,系统自动更新数据。 父主题: 管理图表
气泡图 用两组数据构成多个坐标点,考察坐标点的分布,判断多变量之间是否存在某种关联或总结坐标点的分布模式。本文为您介绍如何为气泡图添加数据并配置样式。 约束限制 维度轴由数据的维度决定,至少选择1个维度。例如日期、省份或产品类型。 度量轴由数据的度量决定,至少选择3个度量。
表4 商品类别表 商品类别 商品名称 颜色 开始时间 结束时间 手机 手机A 白色 2023年5月 2023年7月2日 手机 手机B 红色 2023年5月 2023年7月3日 手机 手机C 黑色 2023年5月 2023年8月4日 台式电脑 电脑A 黑色 2023年1月 2023年
图标:用户可以自定义颜色以及图标类型。 数值设置:支持对数值的语境、单位、科学计数法、使用千分位分割符、小数位的设置。 动画:可以设置产业分布图的旋转速度和闪烁时长。 旋转速度取值范围0.1~2之间。 闪烁时长(s)取值范围1~10。 交互 单击“交互”进入交互页面。
图1 参数设置页面 表1 参数说明 参数名称 说明 变量名 变量名称。 变量类型 支持文本、数值和日期3种变量类型。 默认值生效范围 支持全局生效和仅编辑页生效范围。 全局生效:查询默认值在仪表板、大屏、SQL编辑页面都生效。 仅编辑页生效:查询默认值只在sql编辑页面有效。
优先级一致且别名类型不同时以非变量类型别名为准。 优先级一致且别名类型一致(均为变量类型或非变量类型)以命中长度长者为准。 单击“确定”,别名配置成功,别名与实际搜索内容形成映射。 图1 添加关键词 进入智能分析助手界面进行问答:6-7月,苹果产量。
date日期类型支持的字符串有=、>、≥、<、≤。 交互支持绑定数据集的SQL占位符。 前提:在关联的数据集中编辑SQL,加入动态参数,将参数设置成全局生效。 进入组件编辑页面,单击“交互”进行交互设置。 空件变量 单击“交互 > 空件变量 > 添加变量”,进入添加变量页面。
选择类型:设置Tab列表的类型,支持单选多选的设置。 Tab配置:可对tab的内容以及值进行设置。 标签配置: 字号:字号设置范围10~100之间。 字体颜色:用户自定义标签颜色。 字体粗细:字体粗细类型Normal、Bold、Bolder、Lighter。
控件变量设置如图所示。 图3 设置控件变量 标题:在标题的“样式 > 文本样式 > 文本设置”设置标题显示名称“区域”。 大屏B中创建柱状图,类别轴/维度选择“region”,轴值/度量选择“age”。
数组长度:0-3000 format 否 String 变量格式,针对日期时间类型变量有效。
控件变量:在下拉框、搜索、Tab列表中选择的每一个值都是控件变量设置的变量值。例如在下拉框中选择“city”,则控件变量的变量值为“city”,跳转的图表过滤出“city”字段。 全局变量:将全局变量中的值携带到跳转的图表中。
动态字段 在数据列下的类别轴/维度和轴值/度量内,选择需要的“类别轴/维度”和“轴值/度量”,拖到文本设置/维度或度量区域。
控件变量:在下拉框、搜索、Tab列表中选择的每一个值都是控件变量设置的变量值。例如在下拉框中选择“city”,则控件变量的变量值为“city”,跳转的图表过滤出“city”字段。 全局变量:将全局变量中的值携带到跳转的图表中。 父主题: 制作文本
智能图表 智能图表可以帮助您直观、清晰地展示数据分析结果,本文为您介绍不同类型图表的适用场景,以及不同版本支持的图表类型,辅助您快速选取合适的图表进行数据呈现和展示。
最小长度:0 最大长度:64 表12 SqlVariable 参数 参数类型 描述 default_values Array of objects 变量默认值。 数组长度:0-3000 format String 变量格式,针对日期时间类型变量有效。
控件变量:在下拉框、搜索、Tab列表中选择的每一个值都是控件变量设置的变量值。例如在下拉框中选择“city”,则控件变量的变量值为“city”,跳转的图表过滤出“city”字段。 全局变量:将全局变量中的值携带到跳转的图表中。 父主题: 其他组件使用
相关数据统一存放在开发包的config变量中。