mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-06 16:20:26 +08:00
Changed the "series" property of the HighChartsNGConfig interface to be of type HighchartsIndividualSeriesOptions[].
This commit is contained in:
@@ -20,9 +20,17 @@ class AppController {
|
||||
},
|
||||
plotOptions: {}
|
||||
},
|
||||
series: [{
|
||||
data: [10, 15, 12, 8, 7]
|
||||
}],
|
||||
series: [
|
||||
{
|
||||
data: [10, 15, 12, 8, 7]
|
||||
},
|
||||
{
|
||||
data: [[0, 10], [1, 15], [2, 12], [3, 8], [4, 7]]
|
||||
},
|
||||
{
|
||||
data: [{ name: "A", y: 10 }, { name: "B", y: 15 }, { name: "C", y: 12 }, { name: "D", y: 8 }, { name: "E", y: 7 }]
|
||||
}
|
||||
],
|
||||
title: {
|
||||
text: 'My Awesome Chart'
|
||||
},
|
||||
|
||||
Vendored
+1
-1
@@ -10,7 +10,7 @@ interface HighChartsNGConfig {
|
||||
//The below properties are watched separately for changes.
|
||||
|
||||
//Series object (optional) - a list of series using normal highcharts series options.
|
||||
series?: number[]|[number, number][]| HighchartsDataPoint[] | {data:number[];}[];
|
||||
series?: HighchartsIndividualSeriesOptions[];
|
||||
//Title configuration (optional)
|
||||
title?: {
|
||||
text?: string;
|
||||
|
||||
Reference in New Issue
Block a user