{"action":"created","issue":{"url":"https://api.github.com/repos/swimlane/ngx-charts/issues/640","repository_url":"https://api.github.com/repos/swimlane/ngx-charts","labels_url":"https://api.github.com/repos/swimlane/ngx-charts/issues/640/labels{/name}","comments_url":"https://api.github.com/repos/swimlane/ngx-charts/issues/640/comments","events_url":"https://api.github.com/repos/swimlane/ngx-charts/issues/640/events","html_url":"https://github.com/swimlane/ngx-charts/issues/640","id":274682739,"number":640,"title":"index.d.ts, found version 4, expected 3.. and Cannot read property 'length' of undefined at LineChartComponen","user":{"login":"neo-xy","id":17005270,"avatar_url":"https://avatars1.githubusercontent.com/u/17005270?v=4","gravatar_id":"","url":"https://api.github.com/users/neo-xy","html_url":"https://github.com/neo-xy","followers_url":"https://api.github.com/users/neo-xy/followers","following_url":"https://api.github.com/users/neo-xy/following{/other_user}","gists_url":"https://api.github.com/users/neo-xy/gists{/gist_id}","starred_url":"https://api.github.com/users/neo-xy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo-xy/subscriptions","organizations_url":"https://api.github.com/users/neo-xy/orgs","repos_url":"https://api.github.com/users/neo-xy/repos","events_url":"https://api.github.com/users/neo-xy/events{/privacy}","received_events_url":"https://api.github.com/users/neo-xy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-16T22:13:51Z","updated_at":"2017-11-17T13:04:23Z","closed_at":null,"author_association":"NONE","body":"trying to implementing `<ngx-charts-line-chart> `\r\nbut getting this error:\r\n\r\n> ERROR in Metadata version mismatch for module C:/Users/Pawel/desktop/code/pami/node_modules/@swimlane/ngx-charts/release\r\n> /index.d.ts, found version 4, expected 3, resolving symbol AppModule in C:/Users/Pawel/desktop/code/pami/src/app/app.mod\r\n> ule.ts, resolving symbol AppModule in C:/Users/Pawel/desktop/code/pami/src/app/app.module.ts\r\n\r\nas well ass:\r\n\r\n> TypeError: Cannot read property 'length' of undefined\r\n>     at LineChartComponent../src/line-chart/line-chart.component.ts.LineChartComponent.getXDomain...\r\n\r\npackage.json:\r\n\r\n```\r\n\r\n> `{\r\n>   \"name\": \"pami\",\r\n>   \"version\": \"0.0.0\",\r\n>   \"license\": \"MIT\",\r\n>   \"scripts\": {\r\n>     \"ng\": \"ng\",\r\n>     \"start\": \"ng serve\",\r\n>     \"build\": \"ng build\",\r\n>     \"test\": \"ng test\",\r\n>     \"lint\": \"ng lint\",\r\n>     \"e2e\": \"ng e2e\"\r\n>   },\r\n>   \"private\": true,\r\n>   \"dependencies\": {\r\n>     \"@angular/animations\": \"^5.0.2\",\r\n>     \"@angular/common\": \"^4.0.0\",\r\n>     \"@angular/compiler\": \"^4.0.0\",\r\n>     \"@angular/core\": \"^4.0.0\",\r\n>     \"@angular/forms\": \"^4.0.0\",\r\n>     \"@angular/http\": \"^4.0.0\",\r\n>     \"@angular/platform-browser\": \"^4.0.0\",\r\n>     \"@angular/platform-browser-dynamic\": \"^4.0.0\",\r\n>     \"@angular/router\": \"^4.0.0\",\r\n>     \"@firebase/webchannel-wrapper\": \"0.2.3\",\r\n>     \"@ng-bootstrap/ng-bootstrap\": \"^1.0.0-beta.5\",\r\n>     \"@swimlane/ngx-charts\": \"^7.0.0\",\r\n>     \"angularfire2\": \"^5.0.0-rc.2\",\r\n>     \"bootstrap\": \"^4.0.0-alpha.6\",\r\n>     \"bootswatch\": \"^4.0.0-beta.2\",\r\n>     \"core-js\": \"^2.4.1\",\r\n>     \"d3\": \"^4.11.0\",\r\n>     \"firebase\": \"^4.5.0\",\r\n>     \"font-awesome\": \"^4.7.0\",\r\n>     \"ng-sidebar\": \"^6.0.2\",\r\n>     \"promise-polyfill\": \"6.0.2\",\r\n>     \"rxjs\": \"^5.1.0\",\r\n>     \"zone.js\": \"^0.8.4\"\r\n>   },\r\n>   \"devDependencies\": {\r\n>     \"@angular/cli\": \"1.0.1\",\r\n>     \"@angular/compiler-cli\": \"^4.0.0\",\r\n>     \"@types/jasmine\": \"2.5.38\",\r\n>     \"@types/node\": \"~6.0.60\",\r\n>     \"codelyzer\": \"~2.0.0\",\r\n>     \"jasmine-core\": \"~2.5.2\",\r\n>     \"jasmine-spec-reporter\": \"~3.2.0\",\r\n>     \"karma\": \"~1.4.1\",\r\n>     \"karma-chrome-launcher\": \"~2.0.0\",\r\n>     \"karma-cli\": \"~1.0.1\",\r\n>     \"karma-jasmine\": \"~1.1.0\",\r\n>     \"karma-jasmine-html-reporter\": \"^0.2.2\",\r\n>     \"karma-coverage-istanbul-reporter\": \"^0.2.0\",\r\n>     \"protractor\": \"~5.1.0\",\r\n>     \"ts-node\": \"~2.0.0\",\r\n>     \"tslint\": \"~4.5.0\",\r\n>     \"typescript\": \"~2.2.0\"\r\n>   }\r\n> }\r\n> `\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/swimlane/ngx-charts/issues/comments/345238595","html_url":"https://github.com/swimlane/ngx-charts/issues/640#issuecomment-345238595","issue_url":"https://api.github.com/repos/swimlane/ngx-charts/issues/640","id":345238595,"user":{"login":"HitomiTenshi","id":7304212,"avatar_url":"https://avatars1.githubusercontent.com/u/7304212?v=4","gravatar_id":"","url":"https://api.github.com/users/HitomiTenshi","html_url":"https://github.com/HitomiTenshi","followers_url":"https://api.github.com/users/HitomiTenshi/followers","following_url":"https://api.github.com/users/HitomiTenshi/following{/other_user}","gists_url":"https://api.github.com/users/HitomiTenshi/gists{/gist_id}","starred_url":"https://api.github.com/users/HitomiTenshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HitomiTenshi/subscriptions","organizations_url":"https://api.github.com/users/HitomiTenshi/orgs","repos_url":"https://api.github.com/users/HitomiTenshi/repos","events_url":"https://api.github.com/users/HitomiTenshi/events{/privacy}","received_events_url":"https://api.github.com/users/HitomiTenshi/received_events","type":"User","site_admin":false},"created_at":"2017-11-17T13:04:23Z","updated_at":"2017-11-17T13:04:23Z","author_association":"CONTRIBUTOR","body":"@Jacquers ngx-charts v7.0.0 supports Angular 5 only. The error you got was because you are using `\"@angular/compiler\": \"^4.0.0\"` which complains about a version mismatch in the metadata when using the Angular 5 compiled ngx-charts version 7.0.0.\r\n\r\nYou should use v7.0.0 after upgrading to Angular 5."}}
{"actor":{"display_login":"HitomiTenshi"}}