feat: De-globalize JSAPI in Chart package#1258
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1258 +/- ##
==========================================
+ Coverage 45.37% 45.39% +0.02%
==========================================
Files 502 502
Lines 34666 34706 +40
Branches 8675 8677 +2
==========================================
+ Hits 15728 15754 +26
- Misses 18887 18901 +14
Partials 51 51
Flags with carried forward coverage won't be shown. Click here to find out more.
|
| } else if (plotStyle === dh.plot.SeriesPlotStyle.PIE) { | ||
| seriesData.textinfo = 'label+percent'; | ||
|
|
||
| // TODO Open DefinitelyTyped/Plotly PR to mark family and size as optional |
There was a problem hiding this comment.
Looks like we never opened a PR for this...
There was a problem hiding this comment.
I don't have enough information about this, who should have opened a PR?
There was a problem hiding this comment.
It would have been from when Tony was doing TS conversion. If you could create a ticket for it just with this comment and the link to the pie.d.ts, that would be great.
| "@deephaven/icons": "file:../icons", | ||
| "@deephaven/iris-grid": "file:../iris-grid", | ||
| "@deephaven/jsapi-bootstrap": "file:../jsapi-bootstrap", | ||
| "@deephaven/jsapi-shim": "file:../jsapi-shim", |
There was a problem hiding this comment.
Removing this in a future update... looks like the only thing that will need to be updated is the DropdownFilterPanel
7012238 to
9d3668f
Compare
| } else if (plotStyle === dh.plot.SeriesPlotStyle.PIE) { | ||
| seriesData.textinfo = 'label+percent'; | ||
|
|
||
| // TODO Open DefinitelyTyped/Plotly PR to mark family and size as optional |
There was a problem hiding this comment.
It would have been from when Tony was doing TS conversion. If you could create a ticket for it just with this comment and the link to the pie.d.ts, that would be great.
dashboard-core-pluginsto match the Chart package changes.BREAKING CHANGE:
ChartUtilsclass now needs to be instantiated with a JSAPI object, most of the methods converted from static to instance methods.ChartModelFactorymethods require JSAPI object as the first argument.FigureChartModelconstructor requires JSAPI object as the first argument.