Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Birt 4.3 d3 chart is not working(Integratin d3 chart in BIRT is not working)
Birt 4.3 d3 chart is not working [message #1104083] Sat, 07 September 2013 21:04 Go to next message
Padmasridhar c is currently offline Padmasridhar cFriend
Messages: 17
Registered: September 2013
Junior Member
As per the feature list of Birt4.3 d3 chart is integrated but d3 chart is not working Birt i have attached a rpt
Re: Birt 4.3 d3 chart is not working [message #1106167 is a reply to message #1104083] Tue, 10 September 2013 19:55 Go to previous messageGo to next message
Kristopher Clark is currently offline Kristopher ClarkFriend
Messages: 130
Registered: January 2013
Senior Member
Can you attach data.csv, right now I'm getting a 404 with firebug since it's looking for that locally.
Re: Birt 4.3 d3 chart is not working [message #1107267 is a reply to message #1104083] Thu, 12 September 2013 07:05 Go to previous messageGo to next message
Padmasridhar c is currently offline Padmasridhar cFriend
Messages: 17
Registered: September 2013
Junior Member
Hi I have attached a new rpt and data.tsv. Please look in to it.
Re: Birt 4.3 d3 chart is not working [message #1107351 is a reply to message #1104083] Thu, 12 September 2013 09:23 Go to previous messageGo to next message
donino donino is currently offline donino doninoFriend
Messages: 183
Registered: July 2011
Senior Member
Hi,

Your example works as it is, see image attached.
index.php/fa/16183/0/

Preview it in an external browser such Chrome rather "preview" Eclipse feature. However a bad news is, it won't work with Internet Explorer: sadly the birt viewer starts IE in a old compatibility mode (IE7). This prevents any HTML5 feature such D3 to run.

Note this is a bug of the viewer, not the report engine: if you run the report with your own servlet or another viewer it will work in IE too



  • Attachment: d3.png
    (Size: 22.13KB, Downloaded 152 times)
  • Attachment: d3.png
    (Size: 22.13KB, Downloaded 585 times)

[Updated on: Thu, 12 September 2013 09:24]

Report message to a moderator

Re: Birt 4.3 d3 chart is not working [message #1107437 is a reply to message #1107351] Thu, 12 September 2013 11:51 Go to previous messageGo to next message
Padmasridhar c is currently offline Padmasridhar cFriend
Messages: 17
Registered: September 2013
Junior Member
Hi I also got Same output but <style> tags are not rendering in that same code .please help in this
Re: Birt 4.3 d3 chart is not working [message #1107514 is a reply to message #1107437] Thu, 12 September 2013 14:13 Go to previous messageGo to next message
donino donino is currently offline donino doninoFriend
Messages: 183
Registered: July 2011
Senior Member
Style tag is not supported in a text element, see this document paragraph 4.5.1
However you should be able to workaround this by defining your css rules in an external css file, included at view time.
Re: Birt 4.3 d3 chart is not working [message #1107934 is a reply to message #1107514] Fri, 13 September 2013 05:12 Go to previous messageGo to next message
Padmasridhar c is currently offline Padmasridhar cFriend
Messages: 17
Registered: September 2013
Junior Member
Thanks for your suggestion D3 working fine now

[Updated on: Fri, 13 September 2013 09:13]

Report message to a moderator

Re: Birt 4.3 d3 chart is not working [message #1108277 is a reply to message #1104083] Fri, 13 September 2013 16:08 Go to previous messageGo to next message
Padmasridhar c is currently offline Padmasridhar cFriend
Messages: 17
Registered: September 2013
Junior Member
Hi D3 is working fine. next in d3 chart, i need to use dataset instead of csv in BIRT is this possible?
Re: Birt 4.3 d3 chart is not working [message #1110037 is a reply to message #1108277] Mon, 16 September 2013 09:18 Go to previous messageGo to next message
donino donino is currently offline donino doninoFriend
Messages: 183
Registered: July 2011
Senior Member
This is definitely possible:
In the "onFetch" event of the dataset, you have to build a "global String" variable in the format expected by D3 (JSON string or array). We can then use this variable within a D3 script, with <value-of> tag.
Re: Birt 4.3 d3 chart is not working [message #1112035 is a reply to message #1110037] Thu, 19 September 2013 03:31 Go to previous message
Padmasridhar c is currently offline Padmasridhar cFriend
Messages: 17
Registered: September 2013
Junior Member
Please explain each and every step to get data from dataset
Previous Topic:Resize column in WebViewer
Next Topic:XML filtering problem
Goto Forum:
  


Current Time: Fri Sep 24 19:02:46 GMT 2021

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

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

Back to the top