I know this is an "vba" forum, but i got great help here earlier, and I hope you can help me with this vb question as well.
I am trying to change data points in a serie in a chart on a userform. The effect i am looking for is the same you have in Windows taskmanager (the CPU perfomance charts).
This is how far i am. It is a simple test to get the hang of it.
Problem is that the point(0) which currently contains 0,0 isnt set to 0,2. And the chart isnt updated.
So the question is any idea on how to do this, or where i can find an answer?
I am trying to change data points in a serie in a chart on a userform. The effect i am looking for is the same you have in Windows taskmanager (the CPU perfomance charts).
This is how far i am. It is a simple test to get the hang of it.
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Pnt1 = 2
Chart1.Series.Item("A").Points(0).SetValueXY(0, Pnt1)
Chart1.Update()
End Sub
So the question is any idea on how to do this, or where i can find an answer?