witam, dostaje ten błąd podczas rysowania wykresu, program kompiluje się poprawnie
object reference not set to an instance of an object
array<PointPairList^>^ list = gcnew array<PointPairList^>(10);
for ( double i = 0; i < rysuj1; i=i+0.01,y=y+0.01 )
{
list[0]->Add( x[0], y );
}
BarItem ^myCurve1 = myPane->AddBar( "Integer", list[0], Color::Red);
jeśli robię to nie tablicowo to wszystko działa
pozdrawiam, procent