Charts in Seaside

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

Charts in Seaside

Andre Hora
Hello,

Is it possible to create charts (pie, line, bar, etc.) with Seaside? If yes, is there any tutorial?

Thanks!

--
Andre Hora


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

RE: Charts in Seaside

Boris Popov, DeepCove Labs (SNN)

Andre,

 

I’ve updated my Highcharts package quite recently, see Highcharts-Core and Highcharts-Examples in Cincom Public Repository if you’re using VisualWorks. It should be a straightforward port to Squeak/Pharo if anyone can help out with that.

 

html div script: (html highchart: [:chart |

chart chart defaultSeriesType: 'bar'.

chart title text: 'Fruit Consumption'.

chart xAxis categories: #('Apples' 'Bananas' 'Oranges').

chart yAxis title text: 'Fruit eaten'.

chart series: (Array

                with: ((chart step)

                        name: 'Jane';

                        data: #(12 0 4))

                with: ((chart step)

                       name: 'John';

                       data: #(5 7 3)))]).

 

Hope this helps,

 

-Boris

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Andre Hora
Sent: Tuesday, March 01, 2011 3:21 PM
To: [hidden email]
Subject: [Seaside] Charts in Seaside

 

Hello,

Is it possible to create charts (pie, line, bar, etc.) with Seaside? If yes, is there any tutorial?

Thanks!

--
Andre Hora


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

hc.png (58K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Charts in Seaside

Andre Hora
Hello Boris,

I need it to Pharo. Anyway, thank you very much, I will have a look.

Regards,

On Tue, Mar 1, 2011 at 9:46 PM, Boris Popov, DeepCove Labs <[hidden email]> wrote:

Andre,

 

I’ve updated my Highcharts package quite recently, see Highcharts-Core and Highcharts-Examples in Cincom Public Repository if you’re using VisualWorks. It should be a straightforward port to Squeak/Pharo if anyone can help out with that.

 

html div script: (html highchart: [:chart |

chart chart defaultSeriesType: 'bar'.

chart title text: 'Fruit Consumption'.

chart xAxis categories: #('Apples' 'Bananas' 'Oranges').

chart yAxis title text: 'Fruit eaten'.

chart series: (Array

                with: ((chart step)

                        name: 'Jane';

                        data: #(12 0 4))

                with: ((chart step)

                       name: 'John';

                       data: #(5 7 3)))]).

 

Hope this helps,

 

-Boris

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Andre Hora
Sent: Tuesday, March 01, 2011 3:21 PM
To: [hidden email]
Subject: [Seaside] Charts in Seaside

 

Hello,

Is it possible to create charts (pie, line, bar, etc.) with Seaside? If yes, is there any tutorial?

Thanks!

--
Andre Hora


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




--
Andre Hora


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

RE: Charts in Seaside

Boris Popov, DeepCove Labs (SNN)

Here are the file-outs in (what VisualWorks claims, anyway) a format that is compatible with Squeak. Give that a whirl. One day I’ll need to have a sit down with Monticello and figure it out…

 

-Boris

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Andre Hora
Sent: Tuesday, March 01, 2011 4:01 PM
To: Seaside - general discussion
Subject: Re: [Seaside] Charts in Seaside

 

Hello Boris,

I need it to Pharo. Anyway, thank you very much, I will have a look.

Regards,

On Tue, Mar 1, 2011 at 9:46 PM, Boris Popov, DeepCove Labs <[hidden email]> wrote:

Andre,

 

I’ve updated my Highcharts package quite recently, see Highcharts-Core and Highcharts-Examples in Cincom Public Repository if you’re using VisualWorks. It should be a straightforward port to Squeak/Pharo if anyone can help out with that.

 

html div script: (html highchart: [:chart |

chart chart defaultSeriesType: 'bar'.

chart title text: 'Fruit Consumption'.

chart xAxis categories: #('Apples' 'Bananas' 'Oranges').

chart yAxis title text: 'Fruit eaten'.

chart series: (Array

                with: ((chart step)

                        name: 'Jane';

                        data: #(12 0 4))

                with: ((chart step)

                       name: 'John';

                       data: #(5 7 3)))]).

 

Hope this helps,

 

-Boris

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Andre Hora
Sent: Tuesday, March 01, 2011 3:21 PM
To: [hidden email]
Subject: [Seaside] Charts in Seaside

 

Hello,

Is it possible to create charts (pie, line, bar, etc.) with Seaside? If yes, is there any tutorial?

Thanks!

--
Andre Hora


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




--
Andre Hora


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

Highcharts v5.zip (140K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Charts in Seaside

Andre Hora
Hello Boris,

I ported it to Pharo and at least your example is working well.
I used the last version of Highcharts javascript files (i.e., I used 2.1.4 and you 2.1.3).

If you want to try:

Gofer new
    squeaksource: 'Highcharts';
    package: 'ConfigurationOfHighcharts';
    load.
(Smalltalk at: #ConfigurationOfHighcharts) perform: #loadDefault

Thanks!

On Tue, Mar 1, 2011 at 10:05 PM, Boris Popov, DeepCove Labs <[hidden email]> wrote:

Here are the file-outs in (what VisualWorks claims, anyway) a format that is compatible with Squeak. Give that a whirl. One day I’ll need to have a sit down with Monticello and figure it out…

 

-Boris

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Andre Hora
Sent: Tuesday, March 01, 2011 4:01 PM
To: Seaside - general discussion
Subject: Re: [Seaside] Charts in Seaside

 

Hello Boris,

I need it to Pharo. Anyway, thank you very much, I will have a look.

Regards,

On Tue, Mar 1, 2011 at 9:46 PM, Boris Popov, DeepCove Labs <[hidden email]> wrote:

Andre,

 

I’ve updated my Highcharts package quite recently, see Highcharts-Core and Highcharts-Examples in Cincom Public Repository if you’re using VisualWorks. It should be a straightforward port to Squeak/Pharo if anyone can help out with that.

 

html div script: (html highchart: [:chart |

chart chart defaultSeriesType: 'bar'.

chart title text: 'Fruit Consumption'.

chart xAxis categories: #('Apples' 'Bananas' 'Oranges').

chart yAxis title text: 'Fruit eaten'.

chart series: (Array

                with: ((chart step)

                        name: 'Jane';

                        data: #(12 0 4))

                with: ((chart step)

                       name: 'John';

                       data: #(5 7 3)))]).

 

Hope this helps,

 

-Boris

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Andre Hora
Sent: Tuesday, March 01, 2011 3:21 PM
To: [hidden email]
Subject: [Seaside] Charts in Seaside

 

Hello,

Is it possible to create charts (pie, line, bar, etc.) with Seaside? If yes, is there any tutorial?

Thanks!

--
Andre Hora


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




--
Andre Hora


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




--
Andre Hora


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

RE: Charts in Seaside

Boris Popov, DeepCove Labs (SNN)

Andre,

 

Good to hear! In fact, it might be easier to maintain it there and bring into VisualWorks using their MC tools later on. I’ll be sure to contribute if I have more to add.

 

-Boris

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Andre Hora
Sent: Wednesday, March 02, 2011 12:20 PM
To: Seaside - general discussion
Subject: Re: [Seaside] Charts in Seaside

 

Hello Boris,

I ported it to Pharo and at least your example is working well.
I used the last version of Highcharts javascript files (i.e., I used 2.1.4 and you 2.1.3).

If you want to try:

Gofer new
    squeaksource: 'Highcharts';
    package: 'ConfigurationOfHighcharts';
    load.
(Smalltalk at: #ConfigurationOfHighcharts) perform: #loadDefault

Thanks!

On Tue, Mar 1, 2011 at 10:05 PM, Boris Popov, DeepCove Labs <[hidden email]> wrote:

Here are the file-outs in (what VisualWorks claims, anyway) a format that is compatible with Squeak. Give that a whirl. One day I’ll need to have a sit down with Monticello and figure it out…

 

-Boris

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Andre Hora
Sent: Tuesday, March 01, 2011 4:01 PM
To: Seaside - general discussion
Subject: Re: [Seaside] Charts in Seaside

 

Hello Boris,

I need it to Pharo. Anyway, thank you very much, I will have a look.

Regards,

On Tue, Mar 1, 2011 at 9:46 PM, Boris Popov, DeepCove Labs <[hidden email]> wrote:

Andre,

 

I’ve updated my Highcharts package quite recently, see Highcharts-Core and Highcharts-Examples in Cincom Public Repository if you’re using VisualWorks. It should be a straightforward port to Squeak/Pharo if anyone can help out with that.

 

html div script: (html highchart: [:chart |

chart chart defaultSeriesType: 'bar'.

chart title text: 'Fruit Consumption'.

chart xAxis categories: #('Apples' 'Bananas' 'Oranges').

chart yAxis title text: 'Fruit eaten'.

chart series: (Array

                with: ((chart step)

                        name: 'Jane';

                        data: #(12 0 4))

                with: ((chart step)

                       name: 'John';

                       data: #(5 7 3)))]).

 

Hope this helps,

 

-Boris

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Andre Hora
Sent: Tuesday, March 01, 2011 3:21 PM
To: [hidden email]
Subject: [Seaside] Charts in Seaside

 

Hello,

Is it possible to create charts (pie, line, bar, etc.) with Seaside? If yes, is there any tutorial?

Thanks!

--
Andre Hora


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




--
Andre Hora


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




--
Andre Hora


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