API/CodeSamples/AllowHorizontalBarChart.md
... ...
@@ -28,12 +28,11 @@ public class CustomAdHocConfig : FileSystemAdHocConfig {
28 28
AdHocSettings.PrintMode = PrintMode.Html2PdfAndHtml;
29 29
AdHocSettings.ChartingEngine = ChartingEngine.HtmlChart;
30 30
AdHocSettings.AllowHorizontalBarChart = false; //relevent setting, setting to false removes horizontal checkbox option for bar chart editor
31
-
32 31
```
33 32
34 33
##Global.asax (VB.net)
35 34
```visualbasic
36
-
35
+Public Class CustomAdHocConfig
37 36
Inherits FileSystemAdHocConfig
38 37
Public Shared Sub InitializeReporting()
39 38
'Check to see if we've already initialized.
... ...
@@ -53,5 +52,4 @@ public class CustomAdHocConfig : FileSystemAdHocConfig {
53 52
AdHocSettings.AdHocConfig = New CustomAdHocConfig()
54 53
AdHocSettings.ChartingEngine = ChartingEngine.HtmlChart
55 54
AdHocSettings.AllowHorizontalBarChart = False // relevent setting
56
-
57
-```
55
+```
... ...
\ No newline at end of file