Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upLoosen `tickValues` propTypes to support `Date`s in time series #1096
Conversation
A time series can have JS `Date` objects (or epoch numbers) as values.
CLAassistant
commented
Jan 25, 2019
•
|
This is great! Would you mind documenting this by modifying one of the showcase examples and writing a test? |
|
I took a look into writing a test for it, as I was writing up the merge request. But I could find a suitable existing test to use as a template. There are some tests in |
|
Hmmm, well we tend to be somewhat integration-y in our tests. You might consider making a new showcase component (maybe forking misc/time-chart or one of the axes/X.js examples) and then you could write a text check in the manner of those tests in the line-series-chart. |
agwells commentedJan 25, 2019
A time series can have JS
Dateobjects (or epoch numbers) asvalues. (See issue #1083)