Réponse acceptée !
Re,
Tu trouveras quelques trucs (explication + 1 soucre)
ici Private Type POINTAPI
X As Long
Y As Long
End Type
Dim Bez(3) As POINTAPI
Dim i As Integer
Private Declare Function PolyBezier Lib "gdi32" (ByVal hdc As Long, lppt As POINTAPI, ByVal cPoints As Long) As Long
Private Declare Function GetDC Lib "user32" (ByVal hwnd As Long) As Long
Private Sub Command1_Click()
Bez(0).X = 0
Bez(0).Y = 5
Bez(1).X = 2
Bez(1).Y = 3
Bez(2).X = 50
Bez(2).Y = 200
Bez(3).X = 300
Bez(3).Y = 140
Call PolyBezier(GetDC(MSChart1.hwnd), Bez(0), 4)
Ca a l'air de fonctionner, il faut juste que tu récupères tes valeurs dans ton tableau, et faire en sorte que l'échelle du mschart se redimensionne...
L'expérience, c'est une connerie par jour, mais jamais la même..