Hello
First, does anybody know a more useful component than MSChart ? Because it seems to be very unsafe and hard to use.
Otherwise, I've two big problems with this properties :
grpGraphique.Plot.SeriesCollection[Col].Pen.VtColor.Set(Color.Maroon.R,Color.Maroon.G,Color.Maroon.B);
Sometimes, when I set this property VtColor, it handles the exception :
"System.Runtime.InteropServices.COMException (0x800A045F): Object is uninitialized or invalid.
at MSChart20Lib.VtColorClass.Set(Int16 Red, Int16 Green, Int16 Blue)"
It seems very unsafe and unsteady
This is the problem with VtColor
The other is with :
grpGraphique.Plot.SeriesCollection[Col].DataPoints :
this returns a collection of Datapoints, that can be counted, that can be accessed in their totallity by DataPoints[-1], but I can't access any single DataPoint, even if I use the method Datapoint.get__Item(short Index) ...
Does anybody already saw these problems ? It would be so helpful...
Thanks
Troz
First, does anybody know a more useful component than MSChart ? Because it seems to be very unsafe and hard to use.
Otherwise, I've two big problems with this properties :
grpGraphique.Plot.SeriesCollection[Col].Pen.VtColor.Set(Color.Maroon.R,Color.Maroon.G,Color.Maroon.B);
Sometimes, when I set this property VtColor, it handles the exception :
"System.Runtime.InteropServices.COMException (0x800A045F): Object is uninitialized or invalid.
at MSChart20Lib.VtColorClass.Set(Int16 Red, Int16 Green, Int16 Blue)"
It seems very unsafe and unsteady
This is the problem with VtColor
The other is with :
grpGraphique.Plot.SeriesCollection[Col].DataPoints :
this returns a collection of Datapoints, that can be counted, that can be accessed in their totallity by DataPoints[-1], but I can't access any single DataPoint, even if I use the method Datapoint.get__Item(short Index) ...
Does anybody already saw these problems ? It would be so helpful...
Thanks
Troz