Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Is chart interactivity works ?
Is chart interactivity works ? [message #173298] Mon, 26 June 2006 08:41 Go to next message
Dov Moryusef is currently offline Dov MoryusefFriend
Messages: 25
Registered: July 2009
Junior Member
Hi to all,

I’m developing a web application with Eclipse 3.1 (WTP 1.0.2) and BIRT 2.0.1

My application displays a line chart which contains one category serie
and two vertical values series. I would like to click under a legend
serie in order to toggle visibility ... but it doesn’t work.

I’ve tried the following code (from chart examples) :

Legend lg = chart.getLegend();
lg.getTriggers().add(TriggerImpl.create(
TriggerCondition.ONMOUSEDOWN_LITERAL,
ActionImpl.create(ActionType.TOGGLE_VISIBILITY_LITERAL,
SeriesValueImpl.create("not-used"))));

But it doesn’t works (none interactivity). Nothing happens on legends
clicks.

However the following code :

Legend lg = chart.getLegend();
lg.getTriggers().add(TriggerImpl.create(
TriggerCondition.ONMOUSEOVER_LITERAL,
ActionImpl.create(ActionType.SHOW_TOOLTIP_LITERAL,
TooltipValueImpl.create(500, "My ToolTip"))));

works and a tooltip appears when mouse cursor under legend.


Have you got any ideas?

Thanks a lot for your help.

Dov
Re: Is chart interactivity works ? [message #173307 is a reply to message #173298] Mon, 26 June 2006 08:49 Go to previous messageGo to next message
Thomas Escolan is currently offline Thomas EscolanFriend
Messages: 101
Registered: July 2009
Senior Member
Hllo,

Have you tried to set the chart's interactivity ON first ?
I don't know how to do it programmatically, but in report designer it's on
chart properties withing the format tab.
Re: Is chart interactivity works ? [message #173323 is a reply to message #173307] Mon, 26 June 2006 09:00 Go to previous messageGo to next message
Dov Moryusef is currently offline Dov MoryusefFriend
Messages: 25
Registered: July 2009
Junior Member
This is a multi-part message in MIME format.
--------------070608000002010507040407
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hi,

Interactivity is enabled (I'm not sure but enabled by default) but I
doesn't works ....

Thomas Escolan a
Re: Is chart interactivity works ? [message #173338 is a reply to message #173323] Mon, 26 June 2006 11:02 Go to previous messageGo to next message
David Michonneau is currently offline David MichonneauFriend
Messages: 1145
Registered: July 2009
Senior Member
Have you tried with 2.1RC5?

Thanks,

David

"Dov MORYUSEF" <moryusef@hotmail.com> wrote in message
news:e7o7nt$brs$1@utils.eclipse.org...
> Hi,
>
> Interactivity is enabled (I'm not sure but enabled by default) but I
> doesn't works ....
>
> Thomas Escolan a
Re: Is chart interactivity works ? [message #173379 is a reply to message #173338] Mon, 26 June 2006 12:17 Go to previous messageGo to next message
Dov Moryusef is currently offline Dov MoryusefFriend
Messages: 25
Registered: July 2009
Junior Member
Hi,

Yes I've just installed it ;-) but now I can't execute any report. I've
a BirtException

org.eclipse.birt.core.exception.BirtException: $NO-RB$ Can't startup the
OSGI framework


David Michonneau a écrit :
> Have you tried with 2.1RC5?
>
> Thanks,
>
> David
>
> "Dov MORYUSEF" <moryusef@hotmail.com> wrote in message
> news:e7o7nt$brs$1@utils.eclipse.org...
>
>>Hi,
>>
>>Interactivity is enabled (I'm not sure but enabled by default) but I
>>doesn't works ....
>>
>>Thomas Escolan a écrit :
>>
>>>Hllo,
>>>
>>>Have you tried to set the chart's interactivity ON first ?
>>>I don't know how to do it programmatically, but in report designer it's
>>>on chart properties withing the format tab.
>>>
>>
>>
>
>
Re: Is chart interactivity works ? [message #173401 is a reply to message #173379] Mon, 26 June 2006 13:30 Go to previous messageGo to next message
David Michonneau is currently offline David MichonneauFriend
Messages: 1145
Registered: July 2009
Senior Member
Please read the install instructions on the web page:
http://www.eclipse.org/birt/phoenix/build/

Thanks,

David

"Dov MORYUSEF" <moryusef@hotmail.com> wrote in message
news:e7oj8d$qfg$1@utils.eclipse.org...
> Hi,
>
> Yes I've just installed it ;-) but now I can't execute any report. I've a
> BirtException
>
> org.eclipse.birt.core.exception.BirtException: $NO-RB$ Can't startup the
> OSGI framework
>
>
> David Michonneau a
Re: Is chart interactivity works ? [message #173437 is a reply to message #173401] Mon, 26 June 2006 15:59 Go to previous message
Dov Moryusef is currently offline Dov MoryusefFriend
Messages: 25
Registered: July 2009
Junior Member
Hi,

I've followed all the steps but I've always a NullPointerException:

-- Begin snippet --
IReportEngine engine = null;
try {
EngineConfig config = new EngineConfig();
config.setEngineHome("D:\\Birt runtime 2.1RC5\\ReportEngine");
config.setLogConfig("c:\\temp", Level.OFF);
Platform.startup(config);

// factory is always NULL !!
IReportEngineFactory factory =
(IReportEngineFactory)Platform.
createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_EN GINE_FACTORY);

engine = factory.createReportEngine(config);
engine.changeLogLevel(Level.WARNING);

} catch (Exception ex) {
ex.printStackTrace();
}
-- End --

Any ideas ?

Dov


David Michonneau a écrit :
> Please read the install instructions on the web page:
> http://www.eclipse.org/birt/phoenix/build/
>
> Thanks,
>
> David
>
> "Dov MORYUSEF" <moryusef@hotmail.com> wrote in message
> news:e7oj8d$qfg$1@utils.eclipse.org...
>
>>Hi,
>>
>>Yes I've just installed it ;-) but now I can't execute any report. I've a
>>BirtException
>>
>>org.eclipse.birt.core.exception.BirtException: $NO-RB$ Can't startup the
>>OSGI framework
>>
>>
>>David Michonneau a écrit :
>>
>>>Have you tried with 2.1RC5?
>>>
>>>Thanks,
>>>
>>>David
>>>
>>>"Dov MORYUSEF" <moryusef@hotmail.com> wrote in message
>>>news:e7o7nt$brs$1@utils.eclipse.org...
>>>
>>>
>>>>Hi,
>>>>
>>>>Interactivity is enabled (I'm not sure but enabled by default) but I
>>>>doesn't works ....
>>>>
>>>>Thomas Escolan a écrit :
>>>>
>>>>
>>>>>Hllo,
>>>>>
>>>>>Have you tried to set the chart's interactivity ON first ?
>>>>>I don't know how to do it programmatically, but in report designer it's
>>>>>on chart properties withing the format tab.
>>>>>
>>>>
>>>>
>
Previous Topic:How to resize embedded imamge with scripting?
Next Topic:Total.* missing in RC5 charts?
Goto Forum:
  


Current Time: Sun Nov 24 12:21:00 GMT 2024

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

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

Back to the top