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
We are using ComboChartField from this Plugin, Everything was working fine earlier, We are seeing an issue with the below Code. When i Comment hAxis:{} then the component is rendering without any error.
googleComboChartField( label:"Chart", labelPosition: "ABOVE", height:"TALL", chartColumnData: { { type: "string", id: "Month", rowDataKey:"Month" }, { type: "number", id: "Bolivia", rowDataKey:"Bolivia"}, { type: "number", id: "Ecuador", rowDataKey:"Ecuador"}, { type: "number", id: "PapuaNewGuinea", rowDataKey:"PapuaNewGuinea" }, { type: "number", id: "Rwanda", rowDataKey:"Rwanda"}, { type: "number", id: "Madagascar", rowDataKey:"Madagascar"}, { type: "number", id: "Average", rowDataKey:"Average"} }, chartRowData: { {Month:"2004/05",Bolivia:165,Ecuador:938,PapuaNewGuinea:522,Rwanda:998,Madagascar:450,Average:614.6}, {Month:"2005/06", Bolivia:135,Ecuador:1120,PapuaNewGuinea:599,Rwanda:1268,Madagascar:288,Average:682}, {Month:"2006/07", Bolivia:157, Ecuador:1167, PapuaNewGuinea:587,Rwanda:807,Madagascar:397,Average:623}, {Month:"2007/08",Bolivia:139,Ecuador:1110,PapuaNewGuinea:615,Rwanda:968, Madagascar:215,Average:609.4}, { Month:"2008/09", Bolivia:136,Ecuador:691,PapuaNewGuinea:629,Rwanda:1026,Madagascar:366,Average:569.6} }, chartOptions: { title : "Monthly Coffee Production by Country", vAxis: {title: "Cups"}, hAxis: {}, seriesType: "bars", series: {5: {type: "line"}}, height:500, annotations: {Bolivia: {style: "point"}} })
thanks Harshit.
Hi chandrasekharg0001,
Yes, this is because Google dropped a new update for Google Charts recently and in that update, if you are having any blank key parameter in chartOptions, then, the plug-in will start giving you an error. And this is not only with the hAxis but any key which is present in chartOptions and does not have any value will cause error. Therefore I request you to please remove any unused parameters from chartOptions.
Thanks
Harshit