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, 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 Hello, _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside hc.png (58K) Download Attachment |
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 Hora _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
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 Hello Boris, 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 Hello,
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside Highcharts v5.zip (140K) Download Attachment |
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:
-- Andre Hora _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
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 Hello Boris, 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 Hello Boris, 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 Hello,
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |