chart engine hangs [message #69997] |
Sun, 28 August 2005 01:27  |
Eclipse User |
|
|
|
Hi all,
I'm new to birt, I'm trying to use the chart engine inside a view, I'm
using the example from the faq, it seems like it is hanging in:
AutoScale.computeScale, it never makes it out of this:
// THE AUTO ZOOM LOOP
while ( bFits == bFirstFit )
{
bZoomSuccess = true;
scCloned = (AutoScale) sc.clone( );
if ( sc.bStepFixed ) // DO NOT AUTO ZOOM IF
STEP IS FIXED
{
break;
}
if ( bFirstFit )
{
if ( !bFits )
{
break;
}
bZoomSuccess = sc.zoomIn( );
}
else
{
if (!bFits && sc.getTickCount( ) == 2 )
{
break;
}
bZoomSuccess = sc.zoomOut( );
}
if ( !bZoomSuccess )
break;
sc.updateAxisMinMax( oMinValue, oMaxValue );
sc.computeTicks( xs,
ax.getLabel( ),
iLabelLocation,
iOrientation,
dStart,
dEnd,
false,
null );
bFits = sc.checkFit( xs, la, iLabelLocation );
if ( !bFits && sc.getTickCount( ) == 2 )
{
sc = scCloned;
break;
}
}
I'm not sure if that matters but I'm on linux/gtk.
thanks
|
|
|
Re: chart engine hangs [message #70137 is a reply to message #69997] |
Mon, 29 August 2005 11:52  |
Eclipse User |
|
|
|
Originally posted by: mpadhye.actuate.com
Hi Musachy,
Does this happen for a particular set of values? You can try this by
setting different values in the Sample Data sheet in the Chart Builder.
Also, what version does this happen in 1.0, 1.0.1 or a Nightly build?
In any case, please submit a Bugzilla entry so this problem can be
tracked and fixed.
Thanks,
Milind
Musachy Barroso wrote:
> Hi all,
>
> I'm new to birt, I'm trying to use the chart engine inside a view, I'm
> using the example from the faq, it seems like it is hanging in:
> AutoScale.computeScale, it never makes it out of this:
>
> // THE AUTO ZOOM LOOP
> while ( bFits == bFirstFit )
> {
> bZoomSuccess = true;
> scCloned = (AutoScale) sc.clone( );
> if ( sc.bStepFixed ) // DO NOT AUTO ZOOM
> IF STEP IS FIXED
> {
> break;
> }
> if ( bFirstFit )
> {
> if ( !bFits )
> {
> break;
> }
> bZoomSuccess = sc.zoomIn( );
> }
> else
> {
> if (!bFits && sc.getTickCount( ) == 2 )
> {
> break;
> }
> bZoomSuccess = sc.zoomOut( );
> }
> if ( !bZoomSuccess )
> break;
>
> sc.updateAxisMinMax( oMinValue, oMaxValue );
> sc.computeTicks( xs,
> ax.getLabel( ),
> iLabelLocation,
> iOrientation,
> dStart,
> dEnd,
> false,
> null );
> bFits = sc.checkFit( xs, la, iLabelLocation );
> if ( !bFits && sc.getTickCount( ) == 2 )
> {
> sc = scCloned;
> break;
> }
> }
> I'm not sure if that matters but I'm on linux/gtk.
>
> thanks
>
|
|
|
Powered by
FUDForum. Page generated in 0.06324 seconds