HighChartsSeriesOptions should have the access to the same properties as the Series Chart object.
Based on http://api.highcharts.com/highcharts#series
"The actual series to append to the chart. In addition to the members listed below, any member of the plotOptions for that specific type of plot can be added to a series individually. For example, even though a general lineWidth is specified in plotOptions.series, an individual lineWidth can be specified for each series."
This means the SeriesOptions should have access to properties such as color, animation etc which exist in the series chart object.
HighchartsLegendOptions.useHTML is boolean property, not numeric.
Sometimes i'm thinking that I'm the first person in the world who is using these definitions (
Implemented the following changes.
- The HighchartsChartObject.series property should return
HighchartsSeriesObject[] not HighchartsSeriesChart[].
- Added missing setVisible(...) overloaded method to the
HighchartsSeriesObject interface.
- Added missing JQuery.highcharts(...) method overload containing
callback function parameter used to manipulate the chart instance.
- Amended test file to exercise all changes in this commit.
TypeScript 0.9.5 beta does not allow generic type references without the type argument. This code will still compile for 0.9.1 users. Flight and Ember have further compile problems in 0.9.5 that I don't feel qualified to address as I'm not versed in those libraries.