Skip to main content



      Home
Home » Archived » BIRT » How to set chart legend to column that is not used as category or value
How to set chart legend to column that is not used as category or value [message #264559] Tue, 15 January 2008 15:33 Go to next message
Eclipse UserFriend
Hi,


I was wondering if someone could point me to how I could set the legend of
a scatter chart to a column that I did not use as the category or the
value.


I'm using columnA vs. columnB in a dataset for my scatter chart, but I
want a third column columnC to be my legends. Is that a possibility?


Thanks.
Robert Lin
Re: How to set chart legend to column that is not used as category or value [message #264726 is a reply to message #264559] Thu, 17 January 2008 02:08 Go to previous messageGo to next message
Eclipse UserFriend
I don't think that's easy to do. You could try changing the legend labels
through scripting, but the legend will by default show the categories or the
series names (depending if you color by categories or series).

thanks,

David

"Robert Lin" <robert.lin@nextlabs.com> wrote in message
news:b7089ab702a0eb288ed91a5b7a8ef85c$1@www.eclipse.org...
> Hi,
>
> I was wondering if someone could point me to how I could set the legend of
> a scatter chart to a column that I did not use as the category or the
> value.
>
> I'm using columnA vs. columnB in a dataset for my scatter chart, but I
> want a third column columnC to be my legends. Is that a possibility?
>
>
> Thanks.
> Robert Lin
>
Re: How to set chart legend to column that is not used as category or value [message #264759 is a reply to message #264726] Thu, 17 January 2008 08:26 Go to previous messageGo to next message
Eclipse UserFriend
Hi David,

Thanks for the reply, I was trying to do this through script, but do you
know how I could access the dataset object in beforeDrawLegendItem(), I
have no clue. Is there some kind of reference doc that could help me?

Thanks.
Robert
Re: How to set chart legend to column that is not used as category or value [message #264812 is a reply to message #264759] Thu, 17 January 2008 22:27 Go to previous message
Eclipse UserFriend
You can't access the dataset, but you can access the data of one chart
series

David

"Robert Lin" <robert.lin@nextlabs.com> wrote in message
news:bf2b8daae505673c88bd23794115dc05$1@www.eclipse.org...
> Hi David,
> Thanks for the reply, I was trying to do this through script, but do you
> know how I could access the dataset object in beforeDrawLegendItem(), I
> have no clue. Is there some kind of reference doc that could help me?
> Thanks.
> Robert
Previous Topic:How to move the x-axis scale to the top of a chart
Next Topic:Page Break Interval in DOC
Goto Forum:
  


Current Time: Mon May 12 07:15:20 EDT 2025

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

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

Back to the top