Skip to main content



      Home
Home » Archived » BIRT » Line Charts
Line Charts [message #77402] Tue, 27 September 2005 12:34 Go to next message
Eclipse UserFriend
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 09:03 Go to previous messageGo to next message
Eclipse UserFriend
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 05:14 Go to previous message
Eclipse UserFriend
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 May 10 18:08:19 EDT 2025

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

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

Back to the top