正在生成
详细信息:
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
在开发者平台界面,单击操作列的“调试”,进入调试组件界面,进行参数配置(调试端口请根据图片中的端口填写)。 表2 自定义组件调试参数 参数 说明 组件名称 用户设置的自定义组件名称。 调试对象 本地包:从本地获取的开发包。 适用范围 目前支持大屏和仪表板。 项目 选择用于调试的项目,可以使用该项目的数据进行调试。
开头。 描述 否 对连接数据源的描述。 实例 是 GaussDB(DWS)服务对应的角色实例。 服务器列表 是 GaussDB(DWS)服务器列表。 说明: 如果集群绑定elb,服务器列表默认填充elb地址,如果未绑定elb,默认填充第一个节点ip:port。 数据库 是 登录的数据库名称。
背景色:设置全屏功能的背景色。 圆角:设置全屏的圆角。 显示方式:支持总是和鼠标上移。 搜索 样式 提示信息:支持对文本、字体大小、颜色的设置。 字号:支持设置搜索的字号。 字体粗细:支持设置搜索字体的粗细。 字体颜色:支持设置搜索字体的颜色。 背景色:支持设置搜索的背景色。 搜按钮颜色:支持设置搜索按钮的颜色。
发布”或“保存”。 样式 尺寸位置 W:设置图表的宽,单位为px。 H:设置图表的高,单位px。 X:设置图表在画布中的位置。单位为px。 Y:设置图表在画布中的位置。单位为px。 不透明度:设置图表在画布上的透明度,可通过滑动条进行设置,也可手动输入百分比,比例越大透明程度越低。
示例供您参考,并介绍了index.js文件中常用的组件生命周期或相关函数。 示例组件为一个文本组件:展示度量字段的值,并允许对文本进行样式设置。 表1 组件方法 函数 说明 refresh() 默认渲染方法,当组件初始化和重绘时被调用。 resize(attr) 缩放,当组件被拖拽、缩放时被调用。
Doris服务主机所在的局点。 名称 是 数据源配置列表的显示名称。 描述 否 对连接数据源的描述。 实例 是 Doris服务对应的角色实例。 服务器列表 是 Doris所在的服务器列表。 数据库 是 登录的数据库名称。 用户名 是 登录云数据库的用户名。 密码 是 登录数据库的密码。 SASL_SSL
true,"export": true}, 表示打开了查看和导出的权限。 对于数据源、数据集、智能分析助手来说,权限点有两个,edit,use,对应编辑和使用权限。例如{"use":true,"edit":false} ,表示仅打开使用权限。 resource_id 是 String
单击“新建筛选条件”可以设置多个过滤条件。 date 按区间值过滤 设置时间区间进行过滤。 按单值过滤 设置单个时间进行过滤。 按条件过滤 支持设置且条件和或条件,支持>、≥、<、≤、=等设置。 单击“新建筛选条件”可以设置多个过滤条件。 过滤参数设置完成后,单击“确认”完成过滤参数设置。 在数
Y:设置图表在画布中的位置。单位为px。 不透明度:设置图表在画布上的透明度,可通过滑动条进行设置,也可手动输入百分比,比例越大透明程度越低。 图1 尺寸位置 进度条:柱子宽度、圆角半径、背景色、进度条颜色用户可自定义设置。 进度条颜色支持设置纯色和渐变色。渐变色可设置起点、终点颜色,起点终点颜色也可互换。
支持云连接、支持数据源的连通性测试。 数据加工 支持在项目新建数据集,通过数据源导入、图形化和SQL形式创建数据集。数据集支持度量和维度的设置,支持新建分组维度,层次维度和计算字段,支持数据集字段隐藏。 仪表板 提供仪表板的搭建能力,支持通过拖拽的方式快速布局可视化组件,通过可视
参数 说明 显示图例 设置图示图例,不支持:当未勾选框时,为无法设置图示图例。支持:当勾选框时,支持设置图示图例。 文本 设置图例显示时的文本字体大小。 位置 设置图例显示时的显示位置,支持下方和上方设置。 色板 设置图例的色板,支持系统和自定义设置。 语境 设置数值内的语境,支持中文(简体)和English。
单击页面右侧“添加模板化见解”,进入“新建模板化见解”页面,设置模板名称、问题匹配设置、见解编辑。 模板名称:在智能分析助手问答界面输入模板名称,显示模板化见解。单击“识别”,在问题匹配设置自动填充与模板名称相关的数据集、维度、度量。 问题匹配设置:选择配置模板化见解需要的数据集、维度、度量。
设置图表的宽(W)和高(H),单位为px。设置图表在画布中的位置,单位为px。 设置图表在画布上的透明度,比例越大透明程度越低。 全局样式 地图中心:通过设置顶部、左侧的数值大小调整地图中心在图层中的位置。 地图缩放:设置地图中心在图层中的缩放比例,输入值必须在0.1到50之间。 填充设置 透明度:设置填充的透明度,输入值必须在0到1之间。
存在一个或多个可视化控件。 操作步骤 单击控件右侧的,弹出管理控件页面。 单击“导出文件”,弹出导出文件页面。 图1 导出文件 在导出页面,设置导出相关参数。 表1 导出参数 参数 说明 导出名称 导出控件的名称,默认的名称“图表标题_日期_导出时间”。 文件格式 支持图片、PDF、EXCEL、WORD。
单击“新建筛选条件”可以设置多个过滤条件。 date 按区间值过滤 设置时间区间进行过滤。 按单值过滤 设置单个时间进行过滤。 按条件过滤 支持设置且条件和或条件,支持>、≥、<、≤、=等设置。 单击“新建筛选条件”可以设置多个过滤条件。 过滤参数设置完成后,单击“确认”完成过滤参数设置。 查询返回限制数
支持显示或不显示,设置为不显示下述参数则不支持设置。 文本 设置文本字体大小。 位置 设置图例的位置,支持设置为下方和上方。 色板 支持设置为系统或自定义。 数值设置 支持对数值的语境、单位、科学计数法、使用千分位分割符、小数位的设置。 圆盘占比 圆盘大小设置。 内径占比 圆盘内径占比的大小。
过滤方式。 条件形式 设置的字段为维度时,在按条件过滤方式下,支持设置且条件和或条件。 设置的字段为维度时,在按枚举过滤方式下,支持单选和多选。 过滤条件 设置的字段为维度时,按条件过滤支持:精确匹配、包含、开头是、不匹配、不包含、为空、不为空等设置。 设置的字段为维度时,按枚举过滤方式:选择对应的字段。
选择对应的项目,单击“确定”进入创建数据大屏页面。 在页面左侧的组件区域单击“文本”组件,切换至文本组件页。 图1 文本组件 拖动或单击文本组件至画布区域。 在页面右侧设置文本的相关信息。 标题:在右侧的“字段 > 文本内容框”内输入对应的文本,在“跳转链接”框内输入要跳转的链接。 文本:在右侧的“字段 > 文本内容框”内输入对应的文本。
单击页面右侧的项目,进入项目管理界面。 单击“数据分析 > 智能分析助手 > 问答”,进入智能分析助手问答界面。 单击页面右上角,弹出二维码和链接。 在移动端打开控制台 使用移动端扫描二维码或者在浏览器中输入链接,进入华为云控制台。 使用正确的账户密码登录控制台。 单击页面左上角的“资料数据”,选择项目和智能分析助手。
是 数据源配置列表的显示名称。 描述 否 对连接数据源的描述。 实例 是 ClickHouse服务对应的角色实例。 服务器列表 是 ClickHouse所在的服务器列表。 端口 是 对应数据库的登录端口。 数据库 是 登录的数据库名称。 用户名 是 登录云数据库的用户名。 密码 是