I have wide ranging data. For example, each coordinate can have values anywhere from 1.0 to 30,000.00. I created a SceneGraphComponent from this data, and then created an object of CoordinateSystemFactory, the object froze.
I traced the problem to a method getBoxTicks() in CoordinateSystemFactory. It uses axisScale field with value 1.0 to create ticks at spacing of 1.0. Thus it is creating 30,000 ticks for each axis in my data. I set various values to axisScale, including a value of 1000.00. The performance has no effect.
Can you fix the problem so that instantiation of CoordinateSystemFactory does not get stuck.
Thanks,
Karuna
CoordinateSystemFactory freezes
-
- Posts: 90
- Joined: Sun 16. Nov 2008, 00:24
Re: CoordinateSystemFactory freezes
I solved the problem. There are couple of places you can set values to axisScale: while creating CoordinateSystemFactory, and by using the setAxisScale() method. They were in conflict, in my program. When I corrected it (and I chose a very large value for axisScale), jReality set up the coordinate system with all the points displayed.
Thanks!
Karuna
Thanks!
Karuna