API/CodeSamples/ChartToImageTimeout.md
... ...
@@ -23,7 +23,7 @@ public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig
23 23
AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE";
24 24
AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE";
25 25
Izenda.AdHoc.AdHocSettings.AdHocConfig = new CustomAdHocConfig();
26
- AdHocSettings.AutoJoinOnRenderedRows = true; //The relevant setting
26
+ AdHocSettings.ChartToImageTimeout = 300; //The relevant setting
27 27
HttpContext.Current.Session["ReportingInitialized"] = true;
28 28
}
29 29
}
... ...
@@ -45,7 +45,7 @@ Public Class CustomAdHocConfig
45 45
AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE"
46 46
AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE"
47 47
Izenda.AdHoc.AdHocSettings.AdHocConfig = New CustomAdHocConfig()
48
- AdHocSettings.AutoJoinOnRenderedRows = True 'The relevant setting
48
+ AdHocSettings.ChartToImageTimeout = 300 'The relevant setting
49 49
HttpContext.Current.Session("ReportingInitialized") = True
50 50
End Sub
51 51
End Class