Skip to content

Latest commit

 

History

History
75 lines (49 loc) · 1.73 KB

RelationalChart.md

File metadata and controls

75 lines (49 loc) · 1.73 KB
layout title description documentation platform keywords
post
WCF reference for PivotChart
WCF reference for PivotChart
ug
js
PivotChart , syncfusion, PivotChart WCF

Initialize

[POST] /WCF/PivotChart/Initialize

It fetches the OLAP data which is required to initialize the PivotChart from server-end.

URL parameters

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

Response information

Code: 200

Content-Type: application/json;

Response: serialized JSON string

Code example

{% highlight c# %}

public Dictionary<string, object> Initialize(string action, string currentReport, string customObject) { BindData(); return PivotChart.GetJsonData(action, ProductSales.GetSalesData()); }

{% endhighlight %}

Drill

[POST] /WCF/PivotChart/Drill

It fetches the drilled OLAP data which is required to render the PivotChart control from server-end.

URL parameters

Parameter Description
action It holds the current action name as string
drilledSeries It contains the name of the drilled member

Response information

Code: 200

Content-Type: application/json;

Response: serialized JSON string

Code example

{% highlight c# %}

public Dictionary<string, object> Drill(string action, string drilledSeries) { BindData(); return PivotChart.GetJsonData(action, ProductSales.GetSalesData(), drilledSeries); }

{% endhighlight %}