Are you saying that you plot your own data and you see your data as well as the default data?
Heres a quick chart example that loads off a grid of 4 labels and 8 textboxes - you should be able to recreate this form pretty easily - I call LoadChart from a button_click event:
Private Sub LoadChart()
Dim Sales(,) As Object = New Object(,) _
{{"Company", "Company A", "Company B"}, _
{Label1.Text, TextBox1.Text, TextBox2.Text}, _
{Label2.Text, TextBox3.Text, TextBox4.Text}, _
{Label3.Text, TextBox5.Text, TextBox6.Text}, _
{Label4.Text, TextBox7.Text, TextBox8.Text}}
chtSales.ChartData = Sales
Add a title
With Me.chtSales
.Title.Text = "Sales"
End With
Add titles to the axes.
With Me.chtSales.Plot
.Axis(MSChart20Lib.VtChAxisId.VtChAxisIdX).AxisTitle.Text = "Month"
.Axis(MSChart20Lib.VtChAxisId.VtChAxisIdY).AxisTitle.Text = "Millions of $"
.Axis(MSChart20Lib.VtChAxisId.VtChAxisIdX).AxisTitle.Visible = True
.Axis(MSChart20Lib.VtChAxisId.VtChAxisIdY).AxisTitle.Visible = True
End With
Set custom colors for the bars.
With Me.chtSales.Plot
Yellow for Company A
-1 selects all the datapoints.
.SeriesCollection(1).DataPoints(-1).Brush.FillColor.Set(250, 250, 0)
Purple for Company B
.SeriesCollection(2).DataPoints(-1).Brush.FillColor.Set(200, 50, 200)
End With
chtSales.AllowSelections = True
chtSales.AllowSeriesSelection = True
End Sub