API/CodeSamples/Charts.md
... ...
@@ -10,6 +10,15 @@ Gets or sets the list of chart types which will appear in the Chart Type dropdow
10 10
11 11
**NOTE:** Depending on the [[charting engine|http://wiki.izenda.us/API/CodeSamples/ChartingEngine]], the Plot chart may not exist. Plot does not exist in HTMLCharts, but does exist in DundasCharts.
12 12
13
+**Note:** To remove Visualizations from the drop down list you can add this sample below as Visualizations are appended based on the license key after the chart collection is complete.
14
+```csharp
15
+ public override ReportSet LoadReportSet(ReportInfo reportinfo, DatabaseSchema schema)
16
+ {
17
+ AdHocSettings.Charts.Remove("Visualization");
18
+ return base.LoadReportSet(reportinfo, schema);
19
+ }
20
+```
21
+
13 22
##Global.asax (C♯)
14 23
15 24
```csharp