[ANN] PlotKit 0.9.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[ANN] PlotKit 0.9.1

Philippe Marschall
Changes it the JavaScript part:
    * Make Sweet{Canvas/SVG}Renderers respect shouldFill.
    * Fixed ignoring of maximum x and y values when setting xAxis/yAxis.
    * Fixed typo for calculating yrange in Layout.js (thanks to HubrisSonic).
    * Changed SweetCanvasRenderer to use axisLineColor for drawing
lines over background (thanks to HubrisSonic).
    * Fixed bug in y-axis tick drawing (thanks to Cliff).
    * Fixed x-axis calculation bug when xAxisIsZero is false (thanks
to Loic Jeannin)
    * Fixed xTicks drawing that exceed the bounds of the chart (thanks to Cliff)
    * Fixed barchart drawing with only 2 values (thanks to HubrisSonic)
    * Hide pie chart labels of 0% (thanks to Attiks)
    * Added optional field to addDatasetFromTable to include x-axis labels.
    * Updated excanvas.js version to fix possible printing issues.


Changes it the Squeak part:

Layout options and render options were split into different parts.
This makes the Squeak part more consistent with the JavaScript part
and simplifies the code. There are also some new rendering options.
Unfortunately it breaks some code.
Where earlier you had:

aChart layoutOptions aMessage

in some cases you need to change it to:

aChart rendererOptions aMessage

Fortunately the Squeak part - unlike the JavaScript part - is strongly
typed. So you will get a DNU in the places you need to change.

The updated demo can be found at:
http://seachart.seasidehosting.st/
IE emulation is now turned on for the demo as well. (Reflection demo
seems to be broken)

PlotKit can be obtained via Monticello from:

MCHttpRepository
    location: 'http://www.squeaksource.com/seachart'
    user: ''
    password: ''

Philippe
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] PlotKit 0.9.1

cbeler
Hi Philippe :)

This is cool  but I was wondering if it's compatible with scriptaculous ?
If I remember well there were some problems before if we try to use both
packages together.
Can you tell us if it's possible and what are the limits/problems if
they are ?

Thanks

Cédrick
>
> MCHttpRepository
>    location: 'http://www.squeaksource.com/seachart'
>    user: ''
>    password: ''
>
> Philippe

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] PlotKit 0.9.1

Philippe Marschall
2006/9/22, Cédrick Béler <[hidden email]>:
> Hi Philippe :)
>
> This is cool  but I was wondering if it's compatible with scriptaculous ?
> If I remember well there were some problems before if we try to use both
> packages together.
> Can you tell us if it's possible and what are the limits/problems if
> they are ?

It should work now. Versions up to 0.9 didn't work together with
Prototype but that's fixed now.
I tried with a simple "page" that displays the PlotKit demo graph and
a the Scriptaculous counter and it worked.

So basically it should work without problems out of the box.

Philippe
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] PlotKit 0.9.1

Bakki Kudva
Philippe,

This is awesome.

bakki

On 9/22/06, Philippe Marschall <[hidden email]> wrote:

> 2006/9/22, Cédrick Béler <[hidden email]>:
> > Hi Philippe :)
> >
> > This is cool  but I was wondering if it's compatible with scriptaculous ?
> > If I remember well there were some problems before if we try to use both
> > packages together.
> > Can you tell us if it's possible and what are the limits/problems if
> > they are ?
>
> It should work now. Versions up to 0.9 didn't work together with
> Prototype but that's fixed now.
> I tried with a simple "page" that displays the PlotKit demo graph and
> a the Scriptaculous counter and it worked.
>
> So basically it should work without problems out of the box.
>
> Philippe
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] PlotKit 0.9.1

Jason Johnson-3
+1.  Extremely cool.

Bakki Kudva wrote:

> Philippe,
>
> This is awesome.
>
> bakki
>
> On 9/22/06, Philippe Marschall <[hidden email]> wrote:
>> 2006/9/22, Cédrick Béler <[hidden email]>:
>> > Hi Philippe :)
>> >
>> > This is cool  but I was wondering if it's compatible with
>> scriptaculous ?
>> > If I remember well there were some problems before if we try to use
>> both
>> > packages together.
>> > Can you tell us if it's possible and what are the limits/problems if
>> > they are ?
>>
>> It should work now. Versions up to 0.9 didn't work together with
>> Prototype but that's fixed now.
>> I tried with a simple "page" that displays the PlotKit demo graph and
>> a the Scriptaculous counter and it worked.
>>
>> So basically it should work without problems out of the box.
>>
>> Philippe
>> _______________________________________________
>> Seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside