Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Re: Enabling study layout in JavaScript generated axes
Re: Enabling study layout in JavaScript generated axes [message #709269] Wed, 03 August 2011 18:03 Go to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Can you try to reproduce the issue with sample data from the sample db?
If so post the report.

Jason

On 8/3/2011 1:57 PM, vasa.curcin wrote:
> I am using normal grouping on X-axis.
> When I add a second axis using the Designer (using different data for
> the second series, but same starting chart), the behaviour is exactly
> the same, e.g. it appears normal when study view is deselected, but as
> soon as I switch it on the labels disappear from the X-axis and the
> original Y-axis.
Re: Enabling study layout in JavaScript generated axes [message #709419 is a reply to message #709269] Wed, 03 August 2011 22:34 Go to previous messageGo to next message
pickle_supreme is currently offline pickle_supremeFriend
Messages: 13
Registered: July 2011
Junior Member
For some reason, it doesn't occur with the example you sent me. It could be that the date grouping is what is confusing the engine.
Re: Enabling study layout in JavaScript generated axes [message #709929 is a reply to message #709419] Thu, 04 August 2011 13:36 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Can you use the orders table to setup a similar scenario?

Jason

On 8/3/2011 6:34 PM, vasa.curcin wrote:
> For some reason, it doesn't occur with the example you sent me. It could
> be that the date grouping is what is confusing the engine.
Re: Enabling study layout in JavaScript generated axes [message #710777 is a reply to message #709929] Fri, 05 August 2011 11:53 Go to previous messageGo to next message
pickle_supreme is currently offline pickle_supremeFriend
Messages: 13
Registered: July 2011
Junior Member
Hi Jason,

Sorry for the delay, the issue turned out to be trivial to reproduce, but finding what was causing it took some time. Taking the example report you sent me, if you turn on the labels on the X-Axis, the code will still work fine - displaying the labels both before and after the study layout. However, if you modify the labels to be displayed at a 45 degree angle, they will completely disappear once the study layout has been turned on and the X and Y1 axes will separate at origin!

Do you think this could have something to do with that fixed space for axis labels that you introduced recently for chart alignment? Any workaround you can think of would be much appreciated.
Re: Enabling study layout in JavaScript generated axes [message #710960 is a reply to message #709269] Fri, 05 August 2011 16:21 Go to previous messageGo to next message
pickle_supreme is currently offline pickle_supremeFriend
Messages: 13
Registered: July 2011
Junior Member
It could also be related to this issue:

http://www.eclipse.org/forums/index.php/m/675427/

Another chart misbehaving once the axis labels are rotated.
Re: Enabling study layout in JavaScript generated axes [message #713318 is a reply to message #710960] Mon, 08 August 2011 10:40 Go to previous messageGo to next message
pickle_supreme is currently offline pickle_supremeFriend
Messages: 13
Registered: July 2011
Junior Member
The only new thing I managed to deduce is that something happens during the rendering phase that causes the axis labels to disappear, and the axis origins to separate. There are some study-model specific rendering methods in org.eclipse.birt.chart.computation.withaxes.PlotWith2DAxes.java that look slightly suspicious...
Re: Enabling study layout in JavaScript generated axes [message #713588 is a reply to message #713318] Mon, 08 August 2011 16:03 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

I do not think a bug was logged for this. Can you open one and post the
number?

Jason

On 8/8/2011 6:40 AM, pickle_supreme wrote:
> The only new thing I managed to deduce is that something happens during
> the rendering phase that causes the axis labels to disappear, and the
> axis origins to separate. There are some study-model specific rendering
> methods in
> org.eclipse.birt.chart.computation.withaxes.PlotWith2DAxes.java that
> look slightly suspicious...
Re: Enabling study layout in JavaScript generated axes [message #713602 is a reply to message #713588] Mon, 08 August 2011 16:31 Go to previous messageGo to next message
pickle_supreme is currently offline pickle_supremeFriend
Messages: 13
Registered: July 2011
Junior Member
Submitted here:

http://bugs.eclipse.org/bugs/show_bug.cgi?id=354162

Any idea for a workaround would be very welcome - this is holding back an important report feature for us.
Re: Enabling study layout in JavaScript generated axes [message #713641 is a reply to message #713602] Mon, 08 August 2011 16:49 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

I was able to make yours show up by removing the staggering of the
x-axis labels. Is this an option for you?

Jason

On 8/8/2011 12:31 PM, pickle_supreme wrote:
> Submitted here:
>
> http://bugs.eclipse.org/bugs/show_bug.cgi?id=354162
>
> Any idea for a workaround would be very welcome - this is holding back
> an important report feature for us.
Re: Enabling study layout in JavaScript generated axes [message #713879 is a reply to message #713641] Tue, 09 August 2011 09:46 Go to previous messageGo to next message
pickle_supreme is currently offline pickle_supremeFriend
Messages: 13
Registered: July 2011
Junior Member
Unfortunately, back in my original report, the staggering was switched off.

PS Tried turning it on, which caused the first Y axis line to disappear as well.
Re: Enabling study layout in JavaScript generated axes [message #713962 is a reply to message #713879] Tue, 09 August 2011 13:45 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Can you email me the original report?

Jason

On 8/9/2011 5:46 AM, pickle_supreme wrote:
> Unfortunately, back in my original report, the staggering was switched off.
> PS Tried turning it on, which caused the first Y axis line to disappear
> as well.
Re: Enabling study layout in JavaScript generated axes [message #714458 is a reply to message #713962] Wed, 10 August 2011 14:55 Go to previous message
pickle_supreme is currently offline pickle_supremeFriend
Messages: 13
Registered: July 2011
Junior Member
Email sent. Thanks.
Previous Topic:Parameters
Next Topic:Birt Report with scripted dataset, Rptdesign Preview issue
Goto Forum:
  


Current Time: Fri Mar 29 13:25:33 GMT 2024

Powered by FUDForum. Page generated in 0.04776 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top