Charts are visual representations for data visualization, in which the data is represented by symbols. They are often used because they are easier to read than the raw data.
To include a chart into your application developed with UiPath Apps, follow the procedure below.
Prerequisites
Before including a chart into your application, you must have:
- A chart template in Excel.
- The
UiPath.Excel.Activities.Business.CopyChartToClipboardX
activity installed and configured. For more information, see Get Excel Chart. - The
UiPath.Core.Activities.LoadImage
activity installed and configured. For more information, see Load Image.
Procedure
- Add a required chart with the needed data in an Excel sheet.
- Use the
Get Excel Chart
activity to save the chart. - Save the chart as a picture.

- Use the
Load Image
activity and reference the chart image location. - Convert the chart image to
base64
. - Prefix the
base64
string with the following:data:image/png;base64,
. Make sure thatbase64
is a string data type. - Pass the string as an out argument of your choice.
- Value bind the out argument to your image control in UiPath Apps.

Result
The sequence in UiPath Studio should be similar to the one in the image below.

Your chart is now included into the application.

Updated 5 months ago