Commit Graph

25 Commits

Author SHA1 Message Date
Buck Doyle
74c14dfe55 Change htmlSafe prototype calls to imports (#9075) 2020-10-13 11:50:28 -05:00
Michael Lange
fe115dbc41 Safestr the annotation style property 2020-08-05 12:02:22 -07:00
Michael Lange
c4312187f8 Add activeAnnotation property to line-chart 2020-08-05 12:02:22 -07:00
Michael Lange
4936c3f658 Stagger line chart annotations when they are too close 2020-08-05 12:02:22 -07:00
Michael Lange
2868d3e7fb Add curve options to line chart 2020-08-05 12:02:22 -07:00
Michael Lange
f04b646dcb Test coverage for line chart annotations 2020-08-05 12:02:22 -07:00
Michael Lange
9465fc6d9d Add annotations to the line chart component 2020-08-05 12:02:22 -07:00
Michael Lange
7360adba00 Make the default time series date format for line chart more useful 2020-08-05 12:02:21 -07:00
Buck Doyle
50513ea105 Convert field to overridable computed property
StatsTimeSeries defines description as a computed property,
which isn’t possible when this is a class field.
2020-06-15 10:14:36 -05:00
Buck Doyle
e993a71f6f Add manually-converted classes
I don’t know why the codemod ignored these files 🧐
2020-06-15 10:14:26 -05:00
Buck Doyle
11d80ae489 Add Ember ESLint plugin (#8134)
This is extracted from #8094, where I have run into some snags. Since
these ESLint fixes aren’t actually connected to the Ember 3.16 update
but involve changes to many files, we might as well address them
separately. Where possible I fixed the problems but in cases where
a fix seemed too involved, I added per-line or -file exceptions.
2020-06-09 16:03:28 -05:00
Michael Lange
6ffa836a64 Remove jquery from line-chart 2020-05-26 14:05:45 -07:00
Buck Doyle
882a0210fe UI: Update Ember to 3.12 LTS (#6419)
This is mostly deprecation fixes and blueprint changes. There
are some dependency updates too; the changes to Ember
Basic Dropdown necessitated changing it to angle bracket
component invocation. The conversion of the rest of the
templates will happen separately.
2019-10-15 13:32:58 -05:00
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