Overview
This Component Plug-in provides the capability to display interactive charts in Appian using Google Charts. It offers support for the following types of charts:
Key Features & Functionality
These charts work on all Appian user interfaces and with the Appian mobile application. They are easy to configure and a sample application is provided as part of the download. The plug-in can be used to set up to provide interactive charts with drill-down capabilities and allow the event context to pass into any SAIL component(s) on the same or a different interface.
How to use the component:
2019 AppMarket Award Winner - Best Use of the Integration SDK
a!localVariables( local!download: false, { a!columnsLayout( columns: { a!columnLayout( contents: { googleBubbleChartField( label: "Pie Chart", labelPosition: "ADJACENT", chartColumnData: { { type: "string", id: "ID", rowDataKey: "id" }, { type: "number", id: "Life Expectancy", rowDataKey: "lifeExpectancy" }, { type: "number", id: "Fertility Rate", rowDataKey: "fertilityRate" }, { type: "string", id: "Region", rowDataKey: "region" }, { type: "number", id: "Population", rowDataKey: "population" } }, chartRowData: { { id: "CAN", lifeExpectancy: 80.66, fertilityRate: 1.67, region: "North America", population: 33739900 }, { id: "DEU", lifeExpectancy: 79.84, fertilityRate: 1.36, region: "Europe", population: 81902307 }, { id: "DNK", lifeExpectancy: 78.6, fertilityRate: 1.84, region: "Europe", population: 5523095 }, }, chartOptions: { hAxis: { title: "Life Expectancy" }, vAxis: { title: "Fertility Rate" }, bubble: { textStyle: { fontSize: 12, fontName: "Times-Roman", color: "green", bold: true, italic: true } } }, exportChartType: "PDF", exportChartValue: local!download, exportChartSaveInto: local!download ), googleBubbleChartField( label: "Pie Chart", labelPosition: "ADJACENT", chartColumnData: { { type: "string", id: "ID", rowDataKey: "id" }, { type: "number", id: "Life Expectancy", rowDataKey: "lifeExpectancy" }, { type: "number", id: "Fertility Rate", rowDataKey: "fertilityRate" }, { type: "string", id: "Region", rowDataKey: "region" }, { type: "number", id: "Population", rowDataKey: "population" } }, chartRowData: { { id: "CAN", lifeExpectancy: 80.66, fertilityRate: 1.67, region: "North America", population: 33739900 }, { id: "DEU", lifeExpectancy: 79.84, fertilityRate: 1.36, region: "Europe", population: 81902307 }, { id: "DNK", lifeExpectancy: 78.6, fertilityRate: 1.84, region: "Europe", population: 5523095 }, }, chartOptions: { hAxis: { title: "Life Expectancy" }, vAxis: { title: "Fertility Rate" }, bubble: { textStyle: { fontSize: 12, fontName: "Times-Roman", color: "green", bold: true, italic: true } } }, exportChartType: "PDF", exportChartValue: local!download, exportChartSaveInto: local!download ), } ) } ), a!buttonLayout( primaryButtons: { a!buttonWidget( label: "download", submit: true(), saveInto: { a!save(local!download, true()), } ) } ), })
how can i download multiple charts in single image , there is any solution
Hi, is this plugin available and up to date for Appian 21.2 & 21.3 as well? Thanks
Does the data used on these charts plugins some way used by google? or does google access to the data on charts
Hi, Thanks for the plugin, the "Markers" display mode is not working for us in Google geo chart, the "region" works though. Anything that I could be missing?
Hi,
Timeline chart works fine for us. It looks like we will need the code snippet that you're using in order to help you with the problem.
Thanks
I'm using the timeline chart from this component, and I'm seeing a lot of 403 Forbidden responses in the browser console. The component appears to be doing a POST to https://<environment>/suite/rest/a/logging/latest/csp/report, with a JSON body, but it's evidently not permitted for some reason. Any thoughts as to what the issue might be?
I'm using Appian 20.3 on Cloud and have installed the latest version of the component (1.3.1).
Hi mikec,
Thanks for reaching out. Most of the charts in the plug-in are interactive and can perform same operations as that of Appian's saveInto. Meaning, you can perform any save operation. Also talking about the download ability, yes it is present in the component. Still if you are not able to download the chart in any format, that is probably because the google chrome is suppressing the download. In the current implementation, you won't be able to use this functionality because google has suspended the way of downloading a file which we were using. I am adding a screenshot below for you reference.
Thanks,Harshit
Are any of the charts interactive where if you clicked for example a slice of a pie it can retrieve the data for that slice? Return it in a list view? Also, I see in some of the charts an ability to download as PDF. Is that in this smart service as well? Thanks!!