Reference : Dashboard REST API : Supported Widget type with data format
  
Supported Widget type with data format
Dashboard API supports the following widget types. Data format of the API response is also captured in the following table.
Table widget includes the column name, type and element URL information.
 
Widget type
Data format
Pie Chart [PIECHART]
{"data":{"legendtitle":"Classification","series":[["Gold",2779240],["Silver",3806070],["Bronze",602520],["Blue",6282840]]},"x":"0","width":"6","y":"6","title":"Application by Classification-Pie","type":"PIECHART","height":"7"}
XY Chart
[SCATTER, SPLINE, SCATTER]
{"id":150,"widgets":[{"data":{"legendtitle":"Name","yaxislabel":"Sum: Total Lifetime Cost", "series":[["IT Alignment","5 - Very High","4 - High","3 - Medium","2 - Low","1 - Very Low","0 - Unknown"],["Active Risk Manager",0,0,61260,0,0,0],["EMEA Pipeline",0,0,0,126200,0,0],["Position Keeping Engine",0,0,0,131600,0,0],["Product Service",0,0,0,0,351250,0],["Purchasing",0,0,209400,0,0,0],["Risk Charting",0,0,0,0,1806000,0],["Ticking Risk",0,0,0,951000,0,0]],"xaxislabel":"IT Alignment", "categories":["5 - Very High","4 - High","3 - Medium","2 - Low","1 - Very Low","0 - Unknown"]},"x":"0","width":"12","y":"0","title":"Attribute Statistics","type":"SPLINE","height":"6"}],"title":"XYChart"}
Bar Chart
[BARCHART]
{"data":{"legendtitle":"Targeted Next Year Funding","yaxislabel":"Number of Elements", "series":[["Total Sum of Calculated Funding Changes","227,950","461,889","1,056,515","251,635.75"],["416,461",0,1,0,0],["1,118,891",0,0,1,0],["261,299.35",0,0,0,1]],"xaxislabel":"Total Sum of Calculated Funding Changes"},"x":"0","width":"12","y":"13","title":"Portfolio Overview","type":"BARCHART","height":"6"}
Bubble Chart
[BUBBLECHART]
{"data":{"legendtitle":"Total Risks Score","yaxislabel":"Number of Elements","series":[{"x":71,"y":1129,"value":56.45},{"x":128,"y":715,"value":56.45},{"x":157,"y":1101,"value":56.45},{"x":157,"y":686,"value":112.9},{"x":157,"y":786,"value":56.45},{"x":214,"y":886,"value":56.45}],"xaxislabel":"Total Business Value Score"},"x":"0","width":"12","y":"0","title":"Project Risk Score","type":"BUBBLECHART","height":"7"}
Time Grid Chart [TIMEGRID]
{"id":68,"widgets":[{"data":{"title": "Time Grid Chart","type":"TIMEGRID","height":"12","sheets":[{"title":"Plan - High","rows":[["Expenditures",5848920,3381180,1692980,558000,0]],"cols":["Q3 2009","Q4 2009","Q1 2010","Q2 2010","Q3 2010"]},{"title":"Actual","rows":[["Expenditures",4889000,2976000,1132000,453100,0],["Capital Expenditures",4889000,2976000,1132000,453100,0]],"cols":["Q3 2009","Q4 2009","Q1 2010","Q2 2010","Q3 2010"]}]},"x":"0","width":"12","y":"0"}],"title":"TimeGRID"}
Gauge Chart [GAUGECHART]
{"data":{"thresholds":[0,100,250,400],"color":"#85ba1d","name":"Average Portfolio Level Risk","pattern":["#85ba1d","#ffe53e","#f2111d","#B6150E"],"value":21},"x":"0","width":"3","y":"0","title":"Infrastructure Average Portfolio Level Risk ","type":"GAUGECHART","height":"6"}
Table
[TABLE]
{ "data": { "rows": [ [ "Applications with Critical Stability Risk", "Implementing", "-", "Evelyn", "http://localhost:8080/fp/workspace/107/element/98" ], [ "Business Objects", "Accepted", "-", "Evelyn", "http://localhost:8080/fp/workspace/107/element/99" ], [ "Retire TBRI and Risk Charting - Option 4", "Proposed", "-", "Evelyn", "http://localhost:8080/fp/workspace/107/element/116" ], [ "Consolidate Account Management Applications", "Assess", "5", "Evelyn", "http://localhost:8080/fp/workspace/107/element/117" ], [ "UI Transformation", "Accepted", "2", "", "http://localhost:8080/fp/workspace/107/element/121" ] ], "type": [ { "prefix": "", "id": 504, "title": "Name", "type": "Text", "suffix": "" }, { "prefix": "", "id": 516, "title": "State", "type": "Choice", "suffix": "" }, { "prefix": "", "id": 517, "title": "Priority", "type": "Integer", "suffix": "" }, { "prefix": "", "id": 520, "title": "Architect", "type": "Text", "suffix": "" }, { "prefix": "", "id": -1, "title": "element url", "type": "", "suffix": "" } ], "cols": [ "Name", "State", "Priority", "Architect", "element url" ] }, "x": 0, "width": 12, "y": 6, "title": "Projects", "type": "TABLE", "height": 6 }
Matrix [MATRIX]
{"data":{"yaxislabel":"","xaxislabel":"State","cell":"","rows":[["Accepted","8","32.0%"],["Implementing","2","8.0%"],["Delivered","0","0.0%"],["Rejected","0","0.0%"],["Canceled","0","0.0%"],["Other","10","40.0%"],[" ","Sum: 25"," "]],"cols":["2","8.0%"]},"x":"6","width":"6","y":"0","title":"Project Lifecycle Distribution","type":"MATRIX","height":"6"}
Open Social
[OPENSOCIAL]
{"data":{"url":"http:\/\/www.bbc.co.uk\/inc\/specials\/cream\/hi\/news\/igoogle\/bbcnews.xml"},"x":"0","width":"12","y":"0","title":"BBC NEWS ","type":"OPENSOCIAL","height":"8"}
Message [MESSAGE]
{"data":{"color":"#AFFC0C0","text":"Hi there Welcome to Focal Point Dash Board"},"x":"0","width":"12","y":"12","title":"Welcome to Focal Point","type":"MESSAGE","height":"4"}
See also
Dashboard REST API