1: // First ensure that the command bar is visible
2: MyChart.CommandBarSettings.Visible = true;
3: // And that the "Export" Link is enabled
4: MyChart.CommandBarSettings.ShowExport = true;
5:
6: // Set the fields to be exported
7: MyChart.ExportSettings.Fields = "Firstname,eMail";
8: // Optionally set the field headers, by first disabling the Auto Generated headers
9: MyChart.ExportSettings.AutogenerateHeaders = false;
10: // And then by setting the field headers
11: MyChart.ExportSettings.FieldHeaders = "First Name, email";