Quantcast

Charting tutorial in 1.7 and 1.8

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Charting tutorial in 1.7 and 1.8

patrickdlogan
Looking at the 1.7 charting tutorial, the programmatic demo works fine:

dojotoolkit.org/documentation/tutorials/1.7/charting/demo/basic-programmatic.php

But in 1.8 the chart does not render correctly. There is a javascript error in path.js:

TypeError: invalid 'in' operand e

Is this a known problem?


________________________________________________________
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api

[hidden email]
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Charting tutorial in 1.7 and 1.8

Patrick Ruzand
Hi,
indeed you're right.. :-(
Could you enter a trac ticket plz so that it get fixed ?
http://bugs.dojotoolkit.org/

Thanks !
Patrick

On Wed, Jan 9, 2013 at 2:14 AM, Patrick Logan <[hidden email]> wrote:

> Looking at the 1.7 charting tutorial, the programmatic demo works fine:
>
> dojotoolkit.org/documentation/tutorials/1.7/charting/demo/basic-programmatic.php
>
> But in 1.8 the chart does not render correctly. There is a javascript error
> in path.js:
>
> TypeError: invalid 'in' operand e
>
>
> Is this a known problem?
>
>
> ________________________________________________________
> Dojo Toolkit: http://dojotoolkit.org/
> Tutorials: http://dojotoolkit.org/documentation/
> Reference Guide: http://dojotoolkit.org/reference-guide
> API Documentation: http://dojotoolkit.org/api
>
> [hidden email]
> To unsubscribe, visit:
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>



--
--
Patrick
________________________________________________________
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api

[hidden email]
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Charting tutorial in 1.7 and 1.8

Christophe Jolif-2
Actually I just realized the problem is in the tutorial. It does:

labelOffset: "-20"

but labelOffset is not a string, it is a number, it should do:

labelOffset: -20

and it will work.

It probably used to work in 1.7 for some reason, but that was not good either. You need to use a number here not a string. I'll try to get the tutorial fixed.

Thanks for reporting that,


On Wed, Jan 9, 2013 at 10:40 AM, Patrick Ruzand <[hidden email]> wrote:
Hi,
indeed you're right.. :-(
Could you enter a trac ticket plz so that it get fixed ?
http://bugs.dojotoolkit.org/

Thanks !
Patrick

On Wed, Jan 9, 2013 at 2:14 AM, Patrick Logan <[hidden email]> wrote:
> Looking at the 1.7 charting tutorial, the programmatic demo works fine:
>
> dojotoolkit.org/documentation/tutorials/1.7/charting/demo/basic-programmatic.php
>
> But in 1.8 the chart does not render correctly. There is a javascript error
> in path.js:
>
> TypeError: invalid 'in' operand e
>
>
> Is this a known problem?
>
>
> ________________________________________________________
> Dojo Toolkit: http://dojotoolkit.org/
> Tutorials: http://dojotoolkit.org/documentation/
> Reference Guide: http://dojotoolkit.org/reference-guide
> API Documentation: http://dojotoolkit.org/api
>
> [hidden email]
> To unsubscribe, visit:
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>



--
--
Patrick
________________________________________________________
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api

[hidden email]
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest



--
Christophe

________________________________________________________
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api

[hidden email]
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
Loading...