DefinitelyTyped/types/zingchart/zingchart-tests.ts
Mike Schultz b1513472fb Add types for zingchart (#41348)
* Add types for zingchart

* Adds content header to zingchart

* Fixes typedef extends for lint

* Fixes version, import, and empty jsdoc comments

* Removes last empty jsdoc comment

* Allows values and series types to be arrays

* Fixes values type
2020-01-17 14:48:36 -05:00

12 lines
197 B
TypeScript

zingchart.render({
id: 'myChart',
data: {
type: 'line',
series: [
{
values: [2, 4, 5, 6, 3, 6, 6, 4, 5, 6],
},
],
},
});