layout | title | description | documentation | platform | keywords |
---|---|---|---|---|---|
post |
WCF reference for PivotChart |
WCF reference for PivotChart |
ug |
js |
PivotChart , syncfusion, PivotChart WCF |
[POST] /WCF/PivotChart/Initialize
It fetches the OLAP data which is required to initialize the PivotChart from server-end.
Parameter | Description |
---|---|
action | It holds the current action name as string |
customObject | It contains the custom object passed from client side |
CurrentReport | It contains the current report as compressed string |
Code: 200
Content-Type: application/json;
Response: serialized JSON string
{% highlight c# %}
public Dictionary<string, object> Initialize(string action, string currentReport, string customObject) { BindData(); return PivotChart.GetJsonData(action, ProductSales.GetSalesData()); }
{% endhighlight %}
[POST] /WCF/PivotChart/Drill
It fetches the drilled OLAP data which is required to render the PivotChart control from server-end.
Parameter | Description |
---|---|
action | It holds the current action name as string |
drilledSeries | It contains the name of the drilled member |
Code: 200
Content-Type: application/json;
Response: serialized JSON string
{% highlight c# %}
public Dictionary<string, object> Drill(string action, string drilledSeries) { BindData(); return PivotChart.GetJsonData(action, ProductSales.GetSalesData(), drilledSeries); }
{% endhighlight %}