[x] bug report - search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request - use StackOverflow (add the ngx-charts tag) or the gitter chat for support questions
Current behavior
I want to define xScaleMin & xScaleMax of a Line charts Graph but I get this error on console :
I even did an update to the latest version of ngx charts
@swimlane/ngx-charts@6.0.2
updated 1 package in 24.807s
Expected behavior
I want to Create a Line chart graph to display Daily stats for each hour so I want to define a xMin & xMax ( xMin is 00:00 (midnight ) to xMax is 23:00 (today )
Reproduction of the problem
as for
xScaleMin = moment().endOf('day').toDate();
(this is returning correct value which I could see in my console )
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Operating system: Ubuntu 16.4 LTS,
IDE : Webstorm
, package manager : NPM
ngx-charts version: x.x.x
latest 6.0
Angular version: x.x.x
4.4.4
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
I'm submitting a ... (check one with "x")
ngx-charts
tag) or the gitter chat for support questionsCurrent behavior I want to define xScaleMin & xScaleMax of a Line charts Graph but I get this error on console :![image](https://user-images.githubusercontent.com/22716581/39302579-032f41cc-494b-11e8-885a-ca9ee4fb71e7.png)
I even did an update to the latest version of ngx charts
Expected behavior
I want to Create a Line chart graph to display Daily stats for each hour so I want to define a xMin & xMax ( xMin is 00:00 (midnight ) to xMax is 23:00 (today ) Reproduction of the problem
as for
xScaleMin = moment().endOf('day').toDate();
(this is returning correct value which I could see in my console )
What is the motivation / use case for changing the behavior?
Please tell us about your environment: Operating system: Ubuntu 16.4 LTS, IDE : Webstorm , package manager : NPM
ngx-charts version: x.x.x latest 6.0
Angular version: x.x.x 4.4.4
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Language: [all | TypeScript X.X | ES6/7 | ES5]