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

生产力活动

上次更新日期 2026年4月16日

Update Chart Workbook

UiPath.Excel.Activities.UpdateChart

备注:

此活动目前为预览版。

Updates the properties of an existing chart in an Excel file. This is the cross-platform equivalent of the Update Excel Chart Windows-only activity.

备注:

支持的 Workbook 格式为.xls.xlsm.xltm.xlsx.xltx

项目兼容性

Windows | 跨平台

Properties and configuration

  • File - The full path of the resource workbook. To switch to a local path, select the plus icon, and then Use Local File. The current field changes to File (local path), where you can provide the full path of the workbook.
  • Chart - The chart to update. Select the file, sheet, and chart, or enter the chart name manually. You can also reference a chart saved by the Insert Chart Workbook activity.
  • SheetName - The name of the sheet containing the chart. If not set, the chart is searched for in all sheets.
  • Chart modifications - Select Open Collection Builder to add one or more modifications to apply to the chart. To set the options dynamically, you can use a variable. Select the plus menu icon, and then Use an Expression. The following modification types are available:
    • new ModifyChartTitleChartModification With {.ShowTitle = False, .Title = "myTitle"}
    • new ShowHideLegendChartModification With {.ShowLegend = False}
    • new ShowHideDataLabelsChartModification With {.ShowDataLabels = False}
    • new ChangeDataRangeChartModification With {.UseTableSource = False, .SheetName = "Sheet4", .Range = "A2:B2"}
    • new UpdateAxisTitleChartModification With {.Axis = AxisOrientationType.Vertical, .ShowTitle = True, .Title = "myVertTitle"}
    • new UpdateAxisBoundsChartModification With {.Axis = AxisOrientationType.Vertical, .MinBound = 10, .MaxBound = 40}

使用 workbook

  • “工作簿” - 要使用的现有工作簿。

选项

  • 密码- workbook 的密码(如有必要)。
  • 项目兼容性
  • Properties and configuration

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新