miunsi63 / gflot

Automatically exported from code.google.com/p/gflot
0 stars 0 forks source link

GFLOT does not work with spiffyui which is in version 1.7.1 currently #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.create a GWT project based on spiffyui- add GFLOT widgets

2.compile & run

What is the expected output? What do you see instead?
Load failed, the js console shows an error : "Property '$' of object [object 
DOMWindow] is not a function"

What version of the product are you using? On what operating system?
ran with GFLOT 1.0.0 - I found 2.3.2 is not compatible with 1.0.0 (this is a 
re-write of a project over spiffyui - bommer!  so I have not replicated the 
problem with GFLOT 2.3.2 but that new version is using 1.5.1 . Folks at 
spuffyui said better have GFLOT running with latest jquery 
- or provide mechanisms to being able to work under other jquery frameworks 
Spiffyui folks created a ticket to not use $ - thus you might do the same - but 
I am not a jquery expert to state that this is a solution  
Please provide any additional information below.

Original issue reported on code.google.com by edocard...@gmail.com on 15 Mar 2012 at 3:31

GoogleCodeExporter commented 9 years ago
I'm not sure I understand your problem. 
You say it is working with GFlot 2.3.2 but you want to use gflot 1.0.0 ?
If that's the case, try gflot 2.0. It's the same javascript files as 2.3.2 but 
with the same gflot code as 1.0.0 (or very close).

If you need last version of jquery, see this wiki page 
(http://code.google.com/p/gflot/wiki/Usage) and add the javascript files you 
need.

Original comment by nmr.morel on 15 Mar 2012 at 8:35

GoogleCodeExporter commented 9 years ago
JQuery 1.7.1 is now used

Original comment by nmr.morel on 24 Mar 2012 at 9:16

GoogleCodeExporter commented 9 years ago

Original comment by nmr.morel on 25 Mar 2012 at 6:05