On Wed, 4 Mar 2009, Dietrich Streifert wrote:

> Thank you for your Answer Fritz!
>
> I thought there were some clashes between qooxdoo and the way prototype does 
> something bad with the hashes.
>
> Maybe one of the core wizards (Fabian or Sebastian?) can enlight us about 
> using qooxdoo and prototype together.

As I said:

        perl -i -p -e 's/\$/__Dollar/g'  ProtoChart.js prototype.js

did the job for us. Works in 0.7.x and 0.8.x

Cheers,
Fritz

> But at a first view: Yes! Protochart looks very interresting!
>
> BTW: I'm currently digging into flot which is based on jQuery. Has someone 
> experience using qoodoo with flot of jQuery?
>
>
>
> Fritz Zaucker schrieb:
>> We are using Protochart at the moment:
>>
>>      http://www.deensoft.com/lab/protochart/
>> 
>> Was simple to integrate:
>>
>>    <html>
>>      <head>
>>        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" 
>> />
>>        <title>Our Qooxdoo App</title>
>> 
>>
>>        <script src="lib/prototype.js"></script>
>>        <!--[if IE]><script language="javascript"
>>                     type="text/javascript"
>>                     src="lib/excanvas.js"></script>
>>        <![endif]-->
>>        <script language="javascript" type="text/javascript"
>>                src="lib/ProtoChart.js"></script>
>> 
>>
>>        <script type="text/javascript"
>>                 src="script/OurApp.js"></script>
>>      </head>
>>    </html>
>> 
>> (assuming that the Protochart JS files are below source/lib/ of the qooxdoo
>> app).
>> 
>> There is a clash with the Qooxdoo-optimizer, as ProtoChart uses $ as
>> variable name. I just did a global search/replace substituting $ with
>> __Dollar in ProtoChart.js and prototype.js
>> 
>> The downside is, that Protochart uses a somewhat convoluted (IMHO) data
>> structure for the data to be charted and has very limited labeling
>> implemented (should not be too difficult to extend, though).
>> 
>> Cheers,
>> Fritz
>> 
>> On Wed, 4 Mar 2009, Dietrich Streifert wrote:
>>
>> 
>>> Hello everybody!
>>> 
>>> I'm currently evaluating possibilites to integrate charting features in
>>> an existing qooxdoo 0.7.4 application.
>>> 
>>> Has anybody done this, besides using server generated images?
>>> 
>>> Are there other libraries which integrate well with qooxdoo?
>>> 
>>> I had a look at jscharts (www.jscharts.com) which seems to have what I 
>>> need.
>>> 
>>> Any idea or help would be great!
>>> 
>>> Thank you.
>>> 
>>> Best regards.
>>> 
>>> 
>>>
>>> 
>>
>> 
>
>

-- 
Oetiker+Partner AG              tel: +41 62 775 9903 (direct)
Fritz Zaucker                        +41 62 775 9900 (switch board)
Aarweg 15                            +41 79 675 0630 (mobile)
CH-4600 Olten                   fax: +41 62 775 9905
Schweiz                         web: www.oetiker.ch

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to