正在生成
详细信息:
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
单击页面右上方的“上传文件”,进入上传文件界面。 图1 上传文件 单击“添加文件”,上传文件,并配置文件的参数。 图2 文件配置参数 表1 上传文件的参数说明 参数名称 说明 上传文件 从本地上传xlsx、xls、csv格式文件,大小不能超过50M。 自定义文件名 上传文件后,系统会自动
导出文件 在导出页面,设置导出相关参数。 表1 导出参数 参数 说明 导出名称 导出控件的名称,默认的名称“图表标题_日期_导出时间”。 文件格式 支持图片、PDF、EXCEL、WORD。 水印 如果选择“显示水印”,则导出文件显示水印,如果选择“隐藏水印”,则导出文件不显示水印。
API导入资源包文件 功能介绍 API导入资源包文件。 URI POST /v1/{project_id}/resource-package/api-import 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID。 获取方法请参考获取项目ID。
组件开发包文件介绍 本文介绍开发者在开发自定义组件时,需要遵循的文件结构。 在使用命令insight init生成组件包之后,组件包中包含如下文件。 表1 开发包文件介绍 文件名 说明 gui.json 组件配置,包括样式、数据和交互的配置。 Index.js 组件主入口。 Index
gui.json规范 gui.json文件是组件的配置文件。本文介绍gui.json文件的字段详情,您可以参考本文的字段说明,根据自身需求,灵活修改gui.json文件,自定义组件的配置面板。 gui.json规范示例: 1 2 3 4 5 6 7 { "name": "newCom"
Index.js规范 Index.js文件是组件的主入口文件,该文件提供了一个示例供您参考,并介绍了index.js文件中常用的组件生命周期或相关函数。 示例组件为一个文本组件:展示度量字段的值,并允许对文本进行样式设置。 表1 组件方法 函数 说明 refresh() 默认渲染方法,当组件初始化和重绘时被调用。
Insight提供了多种数据源连接方式:接入大数据平台、接入API数据源等。 数据集 在创建完数据源之后,您可将各种不同的数据源中的表创建为数据集,读取数据源的数据,基于数据表创建数据集,最终使用数据集创建可视化图表。DataArts Insight提供了基于数据集合的编辑功能,以供数据分析人员需要对数据加工处理时使用。
UI类型介绍 本文介绍自定义组件支持的控件(组件样式配置项)。您可以通过gui.json文件中定义的type字段,来定义控件的类型和配置。 支持的Type类型 Type字段支持以下类型: input:文本输入框。 number:数值控件,支持输入,支持定制最大值、最小值等。 se
在弹出页面,单击“查看数据”。 图1 查看控件 进入查看数据页面。 数据类型:格式化数据、原始数据。 查看方式:单击右上角复制按钮,粘贴在相关文件中进行查看,单击导出Excel进行数据查看。 父主题: 管理图表
目录/文件名.flv。 图1 视频流播放 注意视频链接必须是浏览器可以访问的,且需满足其内容安全策略。 上传视频到OBS桶步骤 登录到OBS控制台,创建OBS桶。 创建好后,单击左侧菜单“桶列表”进入桶列表页面。 选择自己创建好的桶,进入桶设置界面,单击上传对象,上传文件。 图2
能体验诉求。 规格明细 数据源规格限制 表2 数据源规格 规格分类 规格描述 限制值 数据源 数据源数(单个工作空间) 100 数据源上传文件大小 50(MB) 数据集规格限制 表3 数据集规格 规格分类 规格描述 限制值 数据集 数据集数(单个工作空间) 1000 行列权限个数(单个数据集)
限制条件:上传文件限制只能上传.xlsx、.xls、.csv格式的文件,且不能超过3M。 操作步骤: 进入数据集编辑界面,单击“更多 > 批量修改名称”,弹出上传文件页面。 单击“下载模板”,按照模板中填写数据。 单击“添加文件”,上传已经写好的数据,上传文件页面显示数据。 字
deleteDatasource 上传文件数据源 datasource uploadFileDatasource 删除文件数据源 datasource deleteFileDatasource 保存文件数据源 datasource saveUploadFileDatasource 更新上传文件配置 datasource
初始化后,insight-dev-tools文件夹中出现src目录,src目录中包含组件的配置目录。 图2 src目录 gui.js:组件的配置,包括样式、数据和交互。 index.js:实现配置文件。 index.less:样式配置文件。 package.json:依赖包文件。 进入src目录,构建
路径前缀 导入导出设置的路径前缀。 最大保存期限 保存的期限,单位为天。 说明: 设置为0则不限制保存期限。 文件加密 有两种方式供您选择: 不使用:对文件导出或导入文件不使用加密方式。 SSE-OBS:服务端加密SSE-OBS方式,详细说明请参考服务端加密。 AK 访问密钥ID
平台类型“x86_64”,单击“确定”,客户端配置文件下载成功。 解压客户端配置文件,打开“Hive > config > hive-site.xml”文件,搜索“principal”,获取principal值。 图2 获取principal值 返回新建数据源界面,将获取的pri
新建数据源 数据源概述 接入数据源 上传文件 数据源分享协作 管理数据源
embedAnalysis:嵌入分析。 resource_id 是 String 资源ID。 响应参数 表5 响应Body参数 参数 参数类型 描述 - File 文件流。 请求示例 POST https://{endpoint}/v1/{project_id}/resource-package/export
资源迁移 API导出资源包 获取导入任务详情 API导入资源包文件
管理图表 切换图表类型 复制 查看数据 导出文件 查看SQL 固定和删除 父主题: 新建仪表板