Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Line Charts
Line Charts [message #77402] Tue, 27 September 2005 16:34 Go to next message
Andy Lawton is currently offline Andy LawtonFriend
Messages: 3
Registered: July 2009
Junior Member
I have a line chart where I want to plot data along the Y axis that comes
from the result of a query. So far, so good. Just set the Y Series to
row["MyData"]. However I don't care about the X Series - I just want to plot
and have maybe 1,2,3,4, etc along the X axis. I don't have this data as the
result of a query. How can I calculate this for the chart, and can you show
every n'th X value, to stop the X axis being too cluttered?

Thanks

Andy
Re: Line Charts [message #77449 is a reply to message #77402] Wed, 28 September 2005 13:03 Go to previous messageGo to next message
David Michonneau is currently offline David MichonneauFriend
Messages: 1145
Registered: July 2009
Senior Member
Hi Andy,

Your best option right now is not to show the X labels at all, you can hide
them in the X Axis -> Labels page. Otherwise you would need to create a
computed column in your Query. Note that labels might be cluttered on the X
Axis, to avoid that, rotate them vertically. The next version of the Chart
(BIRT 2) will fix that problem.

Thanks,

David

"Andy" <andy.lawton@siemens.com> wrote in message
news:dhbs9s$4rn$1@news.eclipse.org...
>I have a line chart where I want to plot data along the Y axis that comes
>from the result of a query. So far, so good. Just set the Y Series to
>row["MyData"]. However I don't care about the X Series - I just want to
>plot and have maybe 1,2,3,4, etc along the X axis. I don't have this data
>as the result of a query. How can I calculate this for the chart, and can
>you show every n'th X value, to stop the X axis being too cluttered?
>
> Thanks
>
> Andy
>
Re: Line Charts [message #78377 is a reply to message #77449] Mon, 03 October 2005 09:14 Go to previous message
Andy Lawton is currently offline Andy LawtonFriend
Messages: 3
Registered: July 2009
Junior Member
That seems to do the trick!

Thanks.


"David Michonneau" <dmichonneau@actuate.com> wrote in message
news:dhe4bd$1kb$1@news.eclipse.org...
> Hi Andy,
>
> Your best option right now is not to show the X labels at all, you can
> hide them in the X Axis -> Labels page. Otherwise you would need to create
> a computed column in your Query. Note that labels might be cluttered on
> the X Axis, to avoid that, rotate them vertically. The next version of the
> Chart (BIRT 2) will fix that problem.
>
> Thanks,
>
> David
>
> "Andy" <andy.lawton@siemens.com> wrote in message
> news:dhbs9s$4rn$1@news.eclipse.org...
>>I have a line chart where I want to plot data along the Y axis that comes
>>from the result of a query. So far, so good. Just set the Y Series to
>>row["MyData"]. However I don't care about the X Series - I just want to
>>plot and have maybe 1,2,3,4, etc along the X axis. I don't have this data
>>as the result of a query. How can I calculate this for the chart, and can
>>you show every n'th X value, to stop the X axis being too cluttered?
>>
>> Thanks
>>
>> Andy
>>
>
>
Previous Topic:A data view is not available
Next Topic:performances with 50000 rows flat file datasource
Goto Forum:
  


Current Time: Sat Dec 21 12:55:45 GMT 2024

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

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

Back to the top