Re: [xwiki-users] D3js not working on XWiki 5.4

2014-04-09 Thread Hamster
Woot! I finally have a working example!

I have updated the  D3 Example
   with the
the changes I have made to make the example work.

Basicly I wrapped the whole existing script in a function which reacts on
the "d3:loaded" event, and I added the "on demand" use of the d3js extension
(instead of using the "online d3js").

There are still some bugs (for example using the WYSIWYG editor), but that's
for another day :-)



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/D3js-not-working-on-XWiki-5-4-tp7589145p7590043.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] D3js not working on XWiki 5.4

2014-04-08 Thread Hamster
Hi Flavius,

Thanks for joining the discussion :-)

I have updated the extension to version 1.1, but I still can't get the
example to work ( D3 Example
  ).

Is there something I need to change on the example to make it work???



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/D3js-not-working-on-XWiki-5-4-tp7589145p7590023.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] D3js not working on XWiki 5.4

2014-04-04 Thread Flavius Olaru
Hi,

I've just uploaded a new version of d3js macro/extension. Tested on 5.4.2.
It should now be fixed.

Thanks,
Flavius


On Fri, Apr 4, 2014 at 5:01 PM, Hamster  wrote:

> Thanks for pinging :-)
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/D3js-not-working-on-XWiki-5-4-tp7589145p7590008.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Flavius Olaru
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] D3js not working on XWiki 5.4

2014-04-04 Thread Hamster
Thanks for pinging :-)



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/D3js-not-working-on-XWiki-5-4-tp7589145p7590008.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] D3js not working on XWiki 5.4

2014-04-04 Thread vinc...@massol.net
I pinged Flavius when you first sent your email but I think he’s no longer 
active on XWiki, so you’ll have to debug the problem… or find someone to do it 
for you ;)

Thanks
-Vincent

On 4 Apr 2014 at 14:49:51, Hamster 
(teun...@hotmail.com(mailto:teun...@hotmail.com)) wrote:

> -bump-
>  
>  
>  
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/D3js-not-working-on-XWiki-5-4-tp7589145p7590003.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] D3js not working on XWiki 5.4

2014-04-04 Thread Hamster
-bump-



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/D3js-not-working-on-XWiki-5-4-tp7589145p7590003.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] D3js not working on XWiki 5.4

2014-03-26 Thread Hamster
Does anyone know how to contact Flavius Olaru, the creator of the  D3JS
Extension   ?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/D3js-not-working-on-XWiki-5-4-tp7589145p7589817.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] D3js not working on XWiki 5.4

2014-03-12 Thread Hamster
Clemens,

Did you find the time to look into this issue?

I would like to use the D3JS to display (dynamic) data, like a dashboard.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/D3js-not-working-on-XWiki-5-4-tp7589145p7589566.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] D3js not working on XWiki 5.4

2014-02-15 Thread Clemens Robbenhaar
On 02/15/2014 05:43 PM, Clemens Robbenhaar wrote:
> On 02/14/2014 04:44 PM, Hamster wrote:
>> I have a problem getting the  D3js example
>>    to work.
>>
>> I have a fresh XWiki 5.4 running. I have installed the D3js with the EM. I
>> then created a new Space called "D3". I created a page called "D3.Data" and
>> pasted the data from the example. I then edited the "D3.WebHome" and pasted
>> the code to display the graph.
>>
>> But when I click "Save & View", I only get a blank page. F5 (refresh) does
>> nothing. I then edit the page in the WYSIWYG editor...I can see the graph
>> being displayed! I can even use the arrow keys left and right to interact
>> with the graph. But when I hit "Save & View", the graph is NOT being
>> displayed, but part of the velocity code is. If I edit the page in XWiki
>> mode, I can see that some velocity code is now being 'escaped' by XWiki.
>>
>> What am I missing here
>>
> 
> First thing you are missing is that the extension on the page is just a demo 
> for the impatient to view something before even installing something. It 
> fetched the javascript
> stuff from the D3 website directly; no need to install the D3js extension to 
> run it ;)
> 
> Then, indeed the WYSIWYG editor does not handle the code snippet gracefully, 
> just opening the editor and saving without editing breaks the thing, there is 
> just too many
> inline 

Re: [xwiki-users] D3js not working on XWiki 5.4

2014-02-15 Thread Clemens Robbenhaar
On 02/14/2014 04:44 PM, Hamster wrote:
> I have a problem getting the  D3js example
>    to work.
> 
> I have a fresh XWiki 5.4 running. I have installed the D3js with the EM. I
> then created a new Space called "D3". I created a page called "D3.Data" and
> pasted the data from the example. I then edited the "D3.WebHome" and pasted
> the code to display the graph.
> 
> But when I click "Save & View", I only get a blank page. F5 (refresh) does
> nothing. I then edit the page in the WYSIWYG editor...I can see the graph
> being displayed! I can even use the arrow keys left and right to interact
> with the graph. But when I hit "Save & View", the graph is NOT being
> displayed, but part of the velocity code is. If I edit the page in XWiki
> mode, I can see that some velocity code is now being 'escaped' by XWiki.
> 
> What am I missing here
> 

First thing you are missing is that the extension on the page is just a demo 
for the impatient to view something before even installing something. It 
fetched the javascript
stuff from the D3 website directly; no need to install the D3js extension to 
run it ;)

Then, indeed the WYSIWYG editor does not handle the code snippet gracefully, 
just opening the editor and saving without editing breaks the thing, there is 
just too many
inline 

[xwiki-users] D3js not working on XWiki 5.4

2014-02-14 Thread Hamster
I have a problem getting the  D3js example
   to work.

I have a fresh XWiki 5.4 running. I have installed the D3js with the EM. I
then created a new Space called "D3". I created a page called "D3.Data" and
pasted the data from the example. I then edited the "D3.WebHome" and pasted
the code to display the graph.

But when I click "Save & View", I only get a blank page. F5 (refresh) does
nothing. I then edit the page in the WYSIWYG editor...I can see the graph
being displayed! I can even use the arrow keys left and right to interact
with the graph. But when I hit "Save & View", the graph is NOT being
displayed, but part of the velocity code is. If I edit the page in XWiki
mode, I can see that some velocity code is now being 'escaped' by XWiki.

What am I missing here



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/D3js-not-working-on-XWiki-5-4-tp7589145.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users