Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42378

Unable to programmically update points on a Chart in vb 2010

$
0
0
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?

Viewing all articles
Browse latest Browse all 42378

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>