[Seaside] Charts in Seaside

Andre Hora andrehoraa at gmail.com
Wed Mar 2 17:19:47 UTC 2011


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 <
boris at deepcovelabs.com> 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:* seaside-bounces at lists.squeakfoundation.org [mailto:
> seaside-bounces at lists.squeakfoundation.org] *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 <
> boris at deepcovelabs.com> 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:* seaside-bounces at lists.squeakfoundation.org [mailto:
> seaside-bounces at lists.squeakfoundation.org] *On Behalf Of *Andre Hora
> *Sent:* Tuesday, March 01, 2011 3:21 PM
> *To:* seaside at lists.squeakfoundation.org
> *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
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
>
>
> --
> Andre Hora
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


-- 
Andre Hora
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110302/5ce347b2/attachment-0001.htm


More information about the seaside mailing list