protected void PivotChart_ServerImageExporting(object sender, Syncfusion.JavaScript.Web.PivotChartEventArgs e) { PivotChartImageExport pivotChartImageExport = new PivotChartImageExport(); dynamic args = e.Arguments; Dictionary <string, string> chartParams = serializer.Deserialize <Dictionary <string, string> >(args["args"].ToString()); pivotChartImageExport.ExportToImage(chartParams); }
public void ImageExport() { PivotChartImageExport pivotChartImageExport = new PivotChartImageExport(); string args = System.Web.HttpContext.Current.Request.Form.GetValues(0)[0]; Dictionary <string, string> chartParams = serializer.Deserialize <Dictionary <string, string> >(args); pivotChartImageExport.ExportToImage(chartParams); }