Home » Archived » 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 15:18 |
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 14:38 |
David Michonneau Messages: 1145 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 14:58 |
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?
>
>
|
|
|
Goto Forum:
Current Time: Thu Apr 25 13:30:13 GMT 2024
Powered by FUDForum. Page generated in 0.02452 seconds
|