All Controls
Edit Caption
This page describes how to edit the caption of the charts. The caption of the charts is a String.
The first step is to include the necessary namespace
and add a new chart/control.
Edit the Caption
Below, we will edit the caption of a Histogram control (named histogramControl in the examples below). The process is similar for the other charts/controls:
[Visual Basic]
' Edit the caption
histogramControl.Caption = "New Caption"
[Visual C#]
// Edit the caption
histogramControl.Caption = "New Caption";
In the chart below, you can test the code to see what the result will look like: