{"action":"created","issue":{"url":"https://api.github.com/repos/gevgeny/angular2-highcharts/issues/38","repository_url":"https://api.github.com/repos/gevgeny/angular2-highcharts","labels_url":"https://api.github.com/repos/gevgeny/angular2-highcharts/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/gevgeny/angular2-highcharts/issues/38/comments","events_url":"https://api.github.com/repos/gevgeny/angular2-highcharts/issues/38/events","html_url":"https://github.com/gevgeny/angular2-highcharts/issues/38","id":165667347,"number":38,"title":"using .highcharts() to assign options","user":{"login":"cnlane","id":8313598,"avatar_url":"https://avatars.githubusercontent.com/u/8313598?v=3","gravatar_id":"","url":"https://api.github.com/users/cnlane","html_url":"https://github.com/cnlane","followers_url":"https://api.github.com/users/cnlane/followers","following_url":"https://api.github.com/users/cnlane/following{/other_user}","gists_url":"https://api.github.com/users/cnlane/gists{/gist_id}","starred_url":"https://api.github.com/users/cnlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnlane/subscriptions","organizations_url":"https://api.github.com/users/cnlane/orgs","repos_url":"https://api.github.com/users/cnlane/repos","events_url":"https://api.github.com/users/cnlane/events{/privacy}","received_events_url":"https://api.github.com/users/cnlane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-14T21:52:35Z","updated_at":"2016-07-18T11:50:05Z","closed_at":null,"body":"I wanted to do something like http://www.highcharts.com/demo/synchronized-charts.  While I had my npm compiler running and listening for file changes (npm start which is “npm run tsc:w” and “npm run lite”), everything works well (with following errors ... but works great).  However, when I restart my “npm start” and it goes through the compiler again, I get \r\n\r\n[0] app/station-dashboard.component.ts(249,10): error TS2345: Argument of type '\r\n{ chart: { marginLeft: number; zoomType: string; spacingTop: number; spacingBott\r\nom: number; }; ti...' is not assignable to parameter of type 'HighchartsOptions'\r\n.\r\n[0]   Types of property 'series' are incompatible.\r\n[0]     Type '{ data: any; name: any; color: any; fillOpacity: number; tooltip:\r\n{ valueSuffix: string; }; }[]' is not assignable to type 'HighchartsIndividualSe\r\nriesOptions[]'.\r\n[0]       Type '{ data: any; name: any; color: any; fillOpacity: number; tooltip\r\n: { valueSuffix: string; }; }' is not assignable to type 'HighchartsIndividualSe\r\nriesOptions'.\r\n[0]         Object literal may only specify known properties, and 'color' does n\r\not exist in type 'HighchartsIndividualSeriesOptions'.\r\n\r\n\r\n\r\n\r\nIt’s not liking where I say :\r\n\r\n```$('<chart class=\"stationChart col-md-12\">')```\r\n               .appendTo('#container')\r\n               .highcharts({\r\n                              chart: {\r\n                                             marginLeft: 80, // Keep all charts left aligned\r\n                                             zoomType: 'x',\r\n                                             spacingTop: 20,\r\n                                             spacingBottom: 20\r\n                              },\r\n\r\nHow can I make it so I can call .highcharts ( )  and pass in options there?\r\n"},"comment":{"url":"https://api.github.com/repos/gevgeny/angular2-highcharts/issues/comments/233307953","html_url":"https://github.com/gevgeny/angular2-highcharts/issues/38#issuecomment-233307953","issue_url":"https://api.github.com/repos/gevgeny/angular2-highcharts/issues/38","id":233307953,"user":{"login":"LithMage","id":15011435,"avatar_url":"https://avatars.githubusercontent.com/u/15011435?v=3","gravatar_id":"","url":"https://api.github.com/users/LithMage","html_url":"https://github.com/LithMage","followers_url":"https://api.github.com/users/LithMage/followers","following_url":"https://api.github.com/users/LithMage/following{/other_user}","gists_url":"https://api.github.com/users/LithMage/gists{/gist_id}","starred_url":"https://api.github.com/users/LithMage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LithMage/subscriptions","organizations_url":"https://api.github.com/users/LithMage/orgs","repos_url":"https://api.github.com/users/LithMage/repos","events_url":"https://api.github.com/users/LithMage/events{/privacy}","received_events_url":"https://api.github.com/users/LithMage/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T11:50:05Z","updated_at":"2016-07-18T11:50:05Z","body":"i am having same troubles since updating to newest version. I am guessing its something to do with typings now using global instead of ambient (all of the Highcharts typings has gone bonkers).\r\nUsing VS Code\r\npackage.json\r\n```\r\n{\r\n  \"name\": \"hcng2\",\r\n  \"version\": \"1.0.0\",\r\n  \"description\": \"\",\r\n  \"main\": \"index.js\",\r\n  \"scripts\": {\r\n    \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",\r\n    \"start\": \"tsc && concurrently \\\"npm run tsc:w\\\" \\\"npm run lite\\\" \",\r\n    \"lite\": \"lite-server\",\r\n    \"postinstall\": \"typings install\",\r\n    \"tsc\": \"tsc\",\r\n    \"tsc:w\": \"tsc -w\",\r\n    \"typings\": \"typings\"\r\n  },\r\n  \"keywords\": [],\r\n  \"author\": \"\",\r\n  \"license\": \"ISC\",\r\n  \"dependencies\": {\r\n    \"@angular/common\": \"2.0.0-rc.3\",\r\n    \"@angular/compiler\": \"2.0.0-rc.3\",\r\n    \"@angular/core\": \"2.0.0-rc.3\",\r\n    \"@angular/forms\": \"0.1.1\",\r\n    \"@angular/http\": \"2.0.0-rc.3\",\r\n    \"@angular/platform-browser\": \"2.0.0-rc.3\",\r\n    \"@angular/platform-browser-dynamic\": \"2.0.0-rc.3\",\r\n    \"@angular/router\": \"3.0.0-alpha.7\",\r\n    \"@angular/router-deprecated\": \"2.0.0-rc.2\",\r\n    \"@angular/upgrade\": \"2.0.0-rc.3\",\r\n    \"angular2-highcharts\": \"^0.1.1\",\r\n    \"angular2-in-memory-web-api\": \"0.0.12\",\r\n    \"bootstrap\": \"^3.3.6\",\r\n    \"core-js\": \"^2.4.0\",\r\n    \"highcharts\": \"^4.2.5\",\r\n    \"immutable\": \"^3.8.1\",\r\n    \"jquery\": \"^3.0.0\",\r\n    \"reflect-metadata\": \"^0.1.3\",\r\n    \"rxjs\": \"5.0.0-beta.6\",\r\n    \"systemjs\": \"0.19.27\",\r\n    \"zone.js\": \"^0.6.12\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"concurrently\": \"^2.0.0\",\r\n    \"lite-server\": \"^2.2.0\",\r\n    \"typescript\": \"^1.8.10\",\r\n    \"typings\": \"^1.0.4\"\r\n  }\r\n}\r\n```\r\n\r\ntypings.json\r\n```\r\n{\r\n  \"globalDependencies\": {\r\n    \"core-js\": \"registry:dt/core-js#0.0.0+20160602141332\",\r\n    \"jasmine\": \"registry:dt/jasmine#2.2.0+20160621224255\",\r\n    \"node\": \"registry:dt/node#6.0.0+20160621231320\"\r\n  }\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"LithMage"}}