Overview
This component includes seven charts that provide enhanced visualization and understanding of your data.
Key Features & Functionality
To use this plug-in:
Do we have option to store in appian folder or KC as PDF or PNG ?
I've run into a couple of issues using the Google Bar Chart Component.
1) The chart doesn't expand horizontally to accommodate for longer labels
2) The chart doesn't expand vertically to accommodate for more bars. Setting the height to "tall" just creates a large amount of white space and the actual chart size remains unchanged.
3) When downloading the chart as a PDF, I get an error when trying to open the PDF
Are these errors in my implementation? I've added the code of my implementation below.
googleBarChartField( label: "Google Column Chart", labelPosition: "ABOVE", validations: {}, height: "TALL", chartColumnData: { { type: "string", id: "FailureMode", rowDataKey: "FailureMode" }, { type: "number", id: "FailureCount", rowDataKey: "FailureCount" } }, chartRowData: { { FailureMode: "Improper Environmental Control Setup or Flush Failure", FailureCount: rule!sam_failure_mode_1( ri!Cust_Id, ri!Loc_Id, ri!StartDate, ri!EndDate, null ).totalCount }, { FailureMode: "Equipment Problem (bad bearing, misalignment, excessive pipe strain)", FailureCount: rule!sam_failure_mode_2( ri!Cust_Id, ri!Loc_Id, ri!StartDate, ri!EndDate, null ).totalCount }, { FailureMode: "Erroneous Installation", FailureCount: rule!sam_failure_mode_3( ri!Cust_Id, ri!Loc_Id, ri!StartDate, ri!EndDate, null ).totalCount }, { FailureMode: "Improper Equipment Operation (dry run, dead head, ect.)", FailureCount: rule!sam_failure_mode_4( ri!Cust_Id, ri!Loc_Id, ri!StartDate, ri!EndDate, null ).totalCount }, { FailureMode: "Incorrect Selection of Seal Design or Materials for the Application", FailureCount: rule!sam_failure_mode_5( ri!Cust_Id, ri!Loc_Id, ri!StartDate, ri!EndDate, null ).totalCount }, { FailureMode: "Contamination of Sealing Fluid with Abrasive or Corrosive Materials", FailureCount: rule!sam_failure_mode_6( ri!Cust_Id, ri!Loc_Id, ri!StartDate, ri!EndDate, null ).totalCount }, { FailureMode: "Abuse of Seal Components Before Installation", FailureCount: rule!sam_failure_mode_7( ri!Cust_Id, ri!Loc_Id, ri!StartDate, ri!EndDate, null ).totalCount }, { FailureMode: "Worn Out Seal (seal achieved its normal life expectancy)", FailureCount: rule!sam_failure_mode_8( ri!Cust_Id, ri!Loc_Id, ri!StartDate, ri!EndDate, null ).totalCount }, { FailureMode: "Maintenance Outage for Equipment Repair (Seal did not fail)", FailureCount: rule!sam_failure_mode_9( ri!Cust_Id, ri!Loc_Id, ri!StartDate, ri!EndDate, null ).totalCount } }, chartOptions: { bar: {groupWidth: "95%"} }, chartFilterData: null, exportChartType: "PDF", exportChartValue: ri!DownloadImage, exportChartSaveInto: ri!ChartImage, onSelection: null, onFilterRangeSelection: null ) } )