HighchartsSt has lost some methods on HighchartsSeries and maybe others

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

HighchartsSt has lost some methods on HighchartsSeries and maybe others

Paul DeBruicker
Hi Mariano -

I remember that you were updating to the new highcharts.  

Maybe this was intentional but HighchartsSeries has lost a lot of methods from HighchartsStAutoGenerated-MarianoMartinezPeck.3 to  HighchartsStAutoGenerated-MarianoMartinezPeck.6.  

Which makes me think the API has changed.   But the examples (from December 2013) use the old style.  


How does a person now specify the index (and other config options) on a series for a plot?

It used to be:

|plot series |
plot := html highcharts newChart.
series := plot series
                index: 1;
                type: 'scatter';
                name: (self series at: #points) name;
                data: ((self series at: #points) dataAsPointsOn: html).
series marker radius: 3.


Thanks for any guidance you can provide.  


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

Re: HighchartsSt has lost some methods on HighchartsSeries and maybe others

Paul DeBruicker
Since I'm a contributor I'll just re-work the MC configuration to load the new ST files that correspond to the 5.0.2 version of highcharts as #stable: and make a version for the old API.  So that will fix my current problem.

But I would like to learn the new API if you can post an example chart or something to the list.  


Thanks


Paul





> On Feb 8, 2017, at 3:53 PM, PAUL DEBRUICKER <[hidden email]> wrote:
>
> Hi Mariano -
>
> I remember that you were updating to the new highcharts.  
>
> Maybe this was intentional but HighchartsSeries has lost a lot of methods from HighchartsStAutoGenerated-MarianoMartinezPeck.3 to  HighchartsStAutoGenerated-MarianoMartinezPeck.6.  
>
> Which makes me think the API has changed.   But the examples (from December 2013) use the old style.  
>
>
> How does a person now specify the index (and other config options) on a series for a plot?
>
> It used to be:
>
> |plot series |
> plot := html highcharts newChart.
> series := plot series
> index: 1;
> type: 'scatter';
> name: (self series at: #points) name;
> data: ((self series at: #points) dataAsPointsOn: html).
> series marker radius: 3.
>
>
> Thanks for any guidance you can provide.  
>
>
> Paul

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

Re: HighchartsSt has lost some methods on HighchartsSeries and maybe others

Paul DeBruicker
And I just saw

HighchartsStExamples-MarianoMartinezPeck.5


Which has what I'm looking for.  


Thanks

Paul


Paul DeBruicker wrote
Since I'm a contributor I'll just re-work the MC configuration to load the new ST files that correspond to the 5.0.2 version of highcharts as #stable: and make a version for the old API.  So that will fix my current problem.

But I would like to learn the new API if you can post an example chart or something to the list.  


Thanks


Paul





> On Feb 8, 2017, at 3:53 PM, PAUL DEBRUICKER <[hidden email]> wrote:
>
> Hi Mariano -
>
> I remember that you were updating to the new highcharts.  
>
> Maybe this was intentional but HighchartsSeries has lost a lot of methods from HighchartsStAutoGenerated-MarianoMartinezPeck.3 to  HighchartsStAutoGenerated-MarianoMartinezPeck.6.  
>
> Which makes me think the API has changed.   But the examples (from December 2013) use the old style.  
>
>
> How does a person now specify the index (and other config options) on a series for a plot?
>
> It used to be:
>
> |plot series |
> plot := html highcharts newChart.
> series := plot series
> index: 1;
> type: 'scatter';
> name: (self series at: #points) name;
> data: ((self series at: #points) dataAsPointsOn: html).
> series marker radius: 3.
>
>
> Thanks for any guidance you can provide.  
>
>
> Paul

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