How to display Donut Graph using Custom Data Object Defined in Module Function
Summary
How to display Donut Graph using Custom Data Object Defined in Module FunctionContent
Hi Wizards,
I am trying to display VBCS donut graph using custom data object I created in module function.
To achieve the above task --> I created a PageModule.prototype.graph function with custom object defined below
var pieSeries = [{
name: "Series 1",
items: [42]
},
{
name: "Series 2",
items: [55]
}];
return pieSeries;
Then I am assigning this variabe (returned by above func) in action chain to a variable lets say graph_data_array of type array.
In UI I dragged the donut graph & assigned the data to graph_data_array
Tagged:
1