UiPath Documentation
activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

生产力活动

插入图表

UiPath.Excel.Activities.Business.InsertExcelChartX

描述

在工作表的指定位置插入图表。该活动可以与为父级使用 Excel 文件活动选择的 Excel 文件一起使用,也可以与“项目笔记本”一起使用。

您可以从以下图表类别及其图表类型中进行选择:

图表类别

图表类型

区域

  • 区域
  • 堆积面积图
  • 百分比堆积面积图

条形

  • 簇状条形图
  • 堆积条形图
  • 百分比堆积条形图

  • 簇状柱形图
  • 堆积柱形图
  • 百分比堆积柱形图

线条

  • 线条
  • 带数据标记的折线图
  • 带数据标记的堆积折线图
  • 带数据标记的百分比堆积折线图
  • 堆积折线图
  • 百分比堆积折线图

饼状

  • 饼状
  • 圆环

散点图

  • 带平滑线的散点图
  • 带平滑线和数据标记的散点图
  • 带直线的散点图
  • 带直线和数据标记的散点图
  • 散点图

配置活动

设计器面板

  • Chart category - Select the drop-down menu to select the category of the chart to be created.

  • Chart type - Select the drop-down menu to select the chart type to be created based on the category that was selected.

  • Data Range - Select Plus on the right side of the field, then, from the menu, select the file and then a sheet, table, or range where to insert the chart, or select Indicate in Excel to indicate a range directly from the file. Alternatively, you can select Custom Input to enter a range, table name, or sheet name manually, or Open in Advanced Editor to enter a VB expression.

  • Inert into sheet - Select Plus on the right side of the field, then, from the menu, select the file and then a sheet, or select Indicate in Excel to indicate a sheet directly from the file. Alternatively, you can select Custom Input to enter a sheet name manually, or Open in Advanced Editor to enter a VB expression.

  • Save chart to - Saves the chart for use in other activities. Select Plus on the right side of the field, then, from the menu, select Indicate in Excel to indicate where to save the chart. Alternatively, you can select:

    • “自定义输入”以手动输入工作表和图表名称。
    • 保存以备后用 - 保存值以供以后在自动化中使用。
    • 选择“在高级编辑器中打开”以输入 VB 表达式。

属性面板

常见
  • “显示名称”- 设计器面板中活动的显示名称
输入
  • “图表类别”- 请在活动主体中查看“图表类别”
  • “图标高度”- 指定图表高度。
  • “图表左侧”- 待插入的新图表相对于工作表右侧的位置坐标。
  • “图表顶部”- 待插入的新图表相对于工作表顶部的位置坐标。
  • “图表类型” - 请在活动主体中查看“图表类型”
  • “图表宽度”- 指定图表的宽度。
  • “数据范围”- 请在活动主体中查看“数据范围”
  • “插入至工作表”- 请在活动主体中查看“插入至工作表”
其他
  • 私有 - 选中后将不再以“Verbose”级别记录变量和参数的值。
输出
  • “将图表保存到”- 查看活动正文中的选项。
  • 描述
  • 配置活动
  • 设计器面板
  • 属性面板
  • 相关活动

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新