Group: Forum Members
Last Active: 12 Years Ago
Posts: 6,
Visits: 1
|
Hi,
it's the first time I'm writing here and I'm having some trouble with coordinates transformations.
When trying to create an NViewToModel2DTransformation object, using the following code
var horizId = chartControl.Charts[0].Axis(StandardAxis.PrimaryX).Id; var vertId = chartControl.Charts[0].Axis(StandardAxis.PrimaryY).Id; this.viewToModel2DTransformation = new NViewToModel2DTransformation(chartControl.View.Context, chartControl.Charts[0], horizId, vertId);
I'm getting an unhandled NullReferrenceException.
I'm not sure if it is a bug of mine (yes, all variables are instantiated) or Nevron's. There is no documentation (other than the description) on this class.
Best regards, Kist
|