Commit Graph

12 Commits

Author SHA1 Message Date
Michael Lange
f6232f1817 ES5 getters codemod 2019-04-10 14:54:36 -07:00
Michael Lange
5aef27ccd8 Guard against the element already being destroyed
Since DOM code is in a run.next, it's possible that between the DOM
code being queued and running the element is destroyed. So the DOM
code needs to guard against this using the isDestroyed API.
2018-11-02 17:08:02 -07:00
Michael Lange
d83d2314de Add a11y features to the line-chart component
- Treat it as an image
- Add a title and a description
- Hide the axes, just in case
2018-09-27 12:55:52 -07:00
Michael Lange
28d8f797e6 Handle the empty data cases 2018-09-19 16:32:53 -07:00
Michael Lange
cf57ddc89e Gap support for line charts 2018-09-17 16:58:56 -07:00
Michael Lange
79c8667072 Handle the length = 0 and length = 1 cases for activeDatum 2018-09-14 10:19:35 -07:00
Michael Lange
40861aaae3 Unit test coverage for the line chart component 2018-09-13 16:45:56 -07:00
Michael Lange
a3e858e27e Updates to the styleguide 2018-09-13 16:45:56 -07:00
Michael Lange
4b67b7668c Use "global" gradients via a clipping mask and a rect w/100% height 2018-09-13 16:45:54 -07:00
Michael Lange
b84d75597d Avoid race conditions around showing and hiding the line chart tooltip 2018-09-13 16:45:13 -07:00
Michael Lange
bb40cb029b Don't round numbers when the domain is between 0 and 1 2018-09-13 16:45:13 -07:00
Michael Lange
48df4d2d29 New line chart component 2018-09-13 16:45:08 -07:00