Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » arbitrary string label for scatter data point, instead of values
arbitrary string label for scatter data point, instead of values [message #196014] Tue, 17 October 2006 11:18 Go to next message
Eclipse User
Originally posted by: ben.vitale.precipia.com

I have a scatter plot, wich two NumberDataSets. I would like the label
at each data point to be a String, instead of the orthogonal or base
value. i.e.,

Bob, Jim, Mike, Sam
1, 3, 5, 2
3, 7, 1, 3

I want the names to display instead of the numbers.

Is this possible?
Re: arbitrary string label for scatter data point, instead of values [message #196187 is a reply to message #196014] Wed, 18 October 2006 10:38 Go to previous messageGo to next message
David Michonneau is currently offline David Michonneau
Messages: 1149
Registered: July 2009
Senior Member
Are you using the chart engine as standalone or in a BIRT report?

I think you should be able to do it via scripting.

Thanks,

David

"Ben Vitale" <ben.vitale@precipia.com> wrote in message
news:eh2s9n$sbr$1@utils.eclipse.org...
>I have a scatter plot, wich two NumberDataSets. I would like the label at
>each data point to be a String, instead of the orthogonal or base value.
>i.e.,
>
> Bob, Jim, Mike, Sam
> 1, 3, 5, 2
> 3, 7, 1, 3
>
> I want the names to display instead of the numbers.
>
> Is this possible?
Re: arbitrary string label for scatter data point, instead of values [message #196234 is a reply to message #196187] Wed, 18 October 2006 10:58 Go to previous message
Eclipse User
Originally posted by: ben.vitale.precipia.com

No other BIRT components involved, so I guess standalone. Rendering in
SWT as part of a larger RCP application.

If scripting will work, can you please elaborate.

This seems part of a larger problem that I'm having identifying
individual data points. If I can't show other information about a data
point in the label or tool-tip, I thought I could capture the MOUSE_OVER
or CLICK in a CallBack, and capture *which* data point was selected that
way.

But the CallBackValue doesn't appear to have any information about the
selection; only the MouseEvent and ScatterSeriesImpl come back. Is
there another way to identify a data point when it is clicked?

David Michonneau wrote:
> Are you using the chart engine as standalone or in a BIRT report?
>
> I think you should be able to do it via scripting.
>
> Thanks,
>
> David
>
> "Ben Vitale" <ben.vitale@precipia.com> wrote in message
> news:eh2s9n$sbr$1@utils.eclipse.org...
>> I have a scatter plot, wich two NumberDataSets. I would like the label at
>> each data point to be a String, instead of the orthogonal or base value.
>> i.e.,
>>
>> Bob, Jim, Mike, Sam
>> 1, 3, 5, 2
>> 3, 7, 1, 3
>>
>> I want the names to display instead of the numbers.
>>
>> Is this possible?
>
>
Previous Topic:dynamically change bar filling
Next Topic:chart interactivity on SWT
Goto Forum:
  


Current Time: Thu Jul 10 01:06:15 EDT 2014

Powered by FUDForum. Page generated in 0.27786 seconds