Hi Tevolo,

Today tevolo wrote:

> Hi,
>
> I am new to Qooxdoo. We are looking at using it with a combination of a
> graphics/plotting contribution libraries, like QxProtovis, for operational
> data display.
>
> However, when I download a demo example for QxProtovis or QxDyGraphs or even
> QxJqPlot I cannot get the plots to show up? I am using Qooxdoo 3.5.

I have fixed jqPlot a few days ago ... not quite sure if the fixed
version is visible in the contrib system ...

@qooxdo-people: is the new contrib system active? where is the
documentation ?

the fix is this:


               qxjqplot.Plot.LOADING[script] = this;
                    var src =
qx.util.ResourceManager.getInstance().toUri("jqPlot/"+script);
                    if (qx.io.ScriptLoader){
                        var sl = new qx.io.ScriptLoader();
                        sl.load(src, function(status){
                            if (status == 'success'){
                                // this.debug("Dynamically loaded
                                // "+src+": "+status);

this.__loadScriptArr(codeArr,handler);
                                qxjqplot.Plot.LOADED[script] =
true;
                            }
                            qxjqplot.Plot.LOADING[script] = null;
                            this.fireDataEvent('scriptLoaded',script);
                        },this);
                    }
                    else {
                        var req = new qx.bom.request.Script();
                        req.on('load',function() {
                            qxjqplot.Plot.LOADED[script] = true;
                            qxjqplot.Plot.LOADING[script] = null;
                            this.fireDataEvent('scriptLoaded',script);
                        },this);
                        req.open("GET", src);
                        req.send();
                    }



>
> I am currently trying QxProtovis. When I compile generate.py I get the
> following error:

re: protovis, this is an old library which got superseeded by D3.js
when I need this functionality nex in one of my projects, Iwill
create qxD3 ...


cheers
tobi


> >>> Collecting classes  |<type 'exceptions.AttributeError'> :
> 'CreateHintsVisitor' object has no attribute 'curr_hint'
>
> When I used QxDyGraphs, I got the error about the need to use
> qx.bom.request.Script instead of qx.io.ScriptLoader.
>
> But what is most frustrating is that there are no step by step guides on how
> to get these demos to work with qooxdoo. For example, with QxDyGraphs you
> can find online that you need to use qx.bom.request.Script, but I can't find
> a step by step guide on what other lines need to be changed within Plot.js.
> Just frustrating.
>
>
>
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/QxProtovis-issues-tp7585110.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to