Generate Chart Image

Overview

Allows users to generate images for charts created in Appian which can be used in Emails, PDFs, and more!

Key Features & Functionality

  • generatepie()
  • generatebar()
  • generatebubble()
  • generatetimeseries()
  • generatexyline()


Smart Services:

  • Pie Chart to Image
  • Bar Chart to Image
  • Bubble Chart to Image
  • TimeSeries Chart to Image
  • XYLine Chart to Image
Anonymous
Parents
  • hi we are using lineChartField, but it prompts error when datetime list is on same day

    Expression evaluation error at function 'generatetimeseries' [line 10]: You are attempting to add an observation for the time period 21-December-2022 but the series already contains an observation for that time period. Duplicates are not permitted. Try using the addOrUpdate() method.

    generatetimeseries(
      legends: { "Legands1"},
      data: {'type!{https://www.vuram.com/plugins/charts/timeseries}TimeSeriesChartData'(
        date: {
          datetime(2022,12,21,10),
          datetime(2022,12,21,11),
          datetime(2022,12,21,12),
          datetime(2022,12,21,13)
        },
        value: {10,20,44,55}
      )},
      xAxisLabel: "Xlabel",
      yAxisLabel: "Ylabel",
      destination: cons!COM_FOLDER_TEMP,
      fileName: "TimeSeries Chart",
      fileDescription: "TimeSerieschart",
      chartTitle: "Title",
      imageSize: "MEDIUM",
      showBorder: true(),
      showLegend: true()
    )

Comment
  • hi we are using lineChartField, but it prompts error when datetime list is on same day

    Expression evaluation error at function 'generatetimeseries' [line 10]: You are attempting to add an observation for the time period 21-December-2022 but the series already contains an observation for that time period. Duplicates are not permitted. Try using the addOrUpdate() method.

    generatetimeseries(
      legends: { "Legands1"},
      data: {'type!{https://www.vuram.com/plugins/charts/timeseries}TimeSeriesChartData'(
        date: {
          datetime(2022,12,21,10),
          datetime(2022,12,21,11),
          datetime(2022,12,21,12),
          datetime(2022,12,21,13)
        },
        value: {10,20,44,55}
      )},
      xAxisLabel: "Xlabel",
      yAxisLabel: "Ylabel",
      destination: cons!COM_FOLDER_TEMP,
      fileName: "TimeSeries Chart",
      fileDescription: "TimeSerieschart",
      chartTitle: "Title",
      imageSize: "MEDIUM",
      showBorder: true(),
      showLegend: true()
    )

Children