I am using vb 2010 in VS 2010 Express.
I have a Chart control which is named Chart1.
Imports System.Windows.Forms.DataVisualization.Charting
I tried to change one of the Title lines with the following code:
Chart1.titles.SpNameTitle.text = "Tom Jones"
I am getting this error on the Chart1 part of the above code: 'Chart1' is not defined. It may be inaccessable due to it's protection level.
How can that be? My chart is named Chart1?
I have a Chart control which is named Chart1.
Imports System.Windows.Forms.DataVisualization.Charting
I tried to change one of the Title lines with the following code:
Chart1.titles.SpNameTitle.text = "Tom Jones"
I am getting this error on the Chart1 part of the above code: 'Chart1' is not defined. It may be inaccessable due to it's protection level.
How can that be? My chart is named Chart1?