正在生成
详细信息:
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
图片 本章节主要介绍图片各配置项的含义。 样式 本章节介绍图片的样式各项配置项的含义。 尺寸位置 W:设置图表的宽,单位为px。 H:设置图表的高,单位px。 X:设置图表在画布中的位置。单位为px。 Y:设置图表在画布中的位置。单位为px。
本示例以玫瑰图为例进行介绍如何创建并配置大屏组件。 为所选组件选择对应的数据集,配置字段,将所需的字段拖拽至图表内。 单击“更新”,在画布上生成图表。 本例查看购买商品的用户中不同等级用户的分布情况。您还可以通过样式选项对图表进行自定义的配置。
单击“开通嵌入”,进入嵌入配置页面。 配置相关参数。 嵌入配置 图2 嵌入配置 表1 嵌入配置参数 参数 说明 嵌入对象 嵌入的对象,可选仪表板下的可视化控件或大屏。 嵌入名称 唯一性。用户自定义名称。
表1 开发包文件介绍 文件名 说明 gui.json 组件配置,包括样式、数据和交互的配置。 Index.js 组件主入口。 Index.less 组件样式css配置。 父主题: 自定义组件开发包说明
drive:允许组件在交互面板里配置联动,和select类型不支持同时配置。 link:允许组件在交互面板里配置跳转。 params 是 Object 事件触发字段和其值,参考params说明。 eventParam参数中params说明。
图9 大屏配置页面 在大屏配置页面的左侧选择需要的组件,拖拽进画布内。本示例使用的是折线柱图组件为例,更多组件的使用请参考数据大屏章节。 配置组件字段和样式。 配置组件字段 在数据列选择需要的数据集。
数据集权限 获取数据集权限列表 配置数据集权限 打开/关闭权限 删除权限 获取数据集权限配置信息
初始化后,insight-dev-tools文件夹中出现src目录,src目录中包含组件的配置目录。 图2 src目录 gui.js:组件的配置,包括样式、数据和交互。 index.js:实现配置文件。 index.less:样式配置文件。
在配置连接对话框,填写以下配置。 图1 接入Hive数据源参数 表1 参数说明 参数名称 是否必填 说明 源库类型 是 接入的数据源类型,本示例为Hive。更多数据源类型连接请参考表1。 接入网络类型 是 公网方式接入。 名称 是 数据源配置列表的显示名称。
同虚拟私有云,但是子网或安全组不同,还需配置路由规则及安全组规则,配置路由规则参考如何配置路由规则章节,配置安全组规则参考安全组配置章节。 不同虚拟私有云的数据源接入时,DataArts Insight自动为您创建VPCEP连通VPC网络。 父主题: 新建数据源
本示例以玫瑰图为例进行介绍如何创建并配置大屏组件。 为所选组件选择对应的数据集,配置字段,将所需的字段拖拽至图表内。 单击“更新”,在画布上生成图表。 本例查看购买商品的用户中不同等级用户的分布情况。 图2 配置字段 您还可以通过样式选项对图表进行自定义的配置。
配置数据源信息。 选择步骤2:新建数据源中新建的数据源作为数据集的输入。 选择数据源的数据库、Schema。 双击数据表,进入数据预览页面。 在该页面可对数据进行过滤、新建指标和新建层次维度等操作。 图5 配置数据集相关参数 单击右侧的“保存”保存数据集的配置信息。
表3 请求Body参数 参数 是否必选 参数类型 描述 col_permission_config 否 object 列级权限配置。具体请参考表4。 row_permission_config 否 object 行级权限配置。具体请参考表5。
图1 列级权限配置 编辑/删除配置好的规则,可在列级权限页面编辑/删除。 父主题: 列级权限
在页面设置页面,设置仪表板全局样式、页面布局等配置项。 你可以配置以下参数: 全局样式 在全局样式中,设置主题的全局样式。 表1 全局样式参数说明 参数 说明 页面背景 用来设置仪表板的背景色。 色板 设置仪表板支持的色系,有两种模式可以选择:系统和自定义。
仪表板 提供仪表板的搭建能力,支持通过拖拽的方式快速布局可视化组件,通过可视化组件的数据配置、属性配置、样式配置,生成具备交互式分析能力的数据报表。 数据大屏 通过场景模板来创建数据大屏,同时对已有数据大屏实现编辑、复制、删除、预览、发布等应用操作。
全部用户生效:生效用户查看到的字段值会根据配置的权限规则而受限,只能看到脱敏后的字段值。 指定用户生效: 查看到的字段值会根据配置的权限规则而受限,只能看到脱敏后的字段值。 指定的用户或用户组外的其他用户:不受权限规则限制,可查看完整字段值。
图10 配色方案 系列:支持对系列颜色的配置(纯色和渐变色)。 渐变色可设置起点、终点颜色,起点终点颜色也可互换。 图11 系列颜色配置 交互 联动 单击“高级>联动”,进入图表联动设置页面,参考表3设置参数。
图9 配色方案 系列:支持对系列颜色的配置(纯色和渐变色)。 渐变色可设置起点、终点颜色,起点终点颜色也可互换。 图10 系列颜色配置 交互 联动 单击“高级>联动”,进入图表联动设置页面,参考表3设置参数。
仅同一区域下的跨项目迁移支持携带资源包的相关权限配置进行迁移,当前仅支持“分享协作”权限同步迁移。 导入仪表板、数据大屏、嵌入式分析、智能分析助手时会自动导入关联的数据源和数据集。 新环境导入资源包后,需重新配置数据源的访问密码,否则数据源无法访问。