@deephaven/chart 1.4.1-beta.0 → 1.4.1-react19.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Chart.js +6 -8
- package/dist/Chart.js.map +1 -1
- package/dist/ChartErrorOverlay.js +1 -2
- package/dist/ChartErrorOverlay.js.map +1 -1
- package/dist/ChartModel.js +1 -3
- package/dist/ChartModel.js.map +1 -1
- package/dist/ChartModelFactory.js.map +1 -1
- package/dist/ChartTestUtils.js.map +1 -1
- package/dist/ChartTheme.js.map +1 -1
- package/dist/ChartThemeProvider.d.ts.map +1 -1
- package/dist/ChartThemeProvider.js +1 -0
- package/dist/ChartThemeProvider.js.map +1 -1
- package/dist/ChartUtils.d.ts +1 -1
- package/dist/ChartUtils.d.ts.map +1 -1
- package/dist/ChartUtils.js +2 -3
- package/dist/ChartUtils.js.map +1 -1
- package/dist/DownsamplingError.js.map +1 -1
- package/dist/FigureChartModel.js +10 -17
- package/dist/FigureChartModel.js.map +1 -1
- package/dist/LazyChart.js +3 -1
- package/dist/LazyChart.js.map +1 -1
- package/dist/MockChartModel.js +0 -4
- package/dist/MockChartModel.js.map +1 -1
- package/dist/declaration.d.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/isFigureChartModel.js.map +1 -1
- package/dist/plotly/LazyPlot.js +3 -1
- package/dist/plotly/LazyPlot.js.map +1 -1
- package/dist/plotly/Plot.js.map +1 -1
- package/dist/plotly/Plotly.js.map +1 -1
- package/dist/plotly/createPlotlyComponent.js.map +1 -1
- package/dist/plotly/plotly-extends.d.js.map +1 -1
- package/dist/useChartTheme.js.map +1 -1
- package/package.json +12 -13
package/dist/ChartUtils.js
CHANGED
|
@@ -629,14 +629,14 @@ class ChartUtils {
|
|
|
629
629
|
}
|
|
630
630
|
}
|
|
631
631
|
getPlotlySeriesOrientation(series) {
|
|
632
|
-
var _sources
|
|
632
|
+
var _sources$;
|
|
633
633
|
var {
|
|
634
634
|
dh
|
|
635
635
|
} = this;
|
|
636
636
|
var {
|
|
637
637
|
sources
|
|
638
638
|
} = series;
|
|
639
|
-
if (sources.length === 2 && ((_sources$ = sources[0]) === null || _sources$ === void 0
|
|
639
|
+
if (sources.length === 2 && ((_sources$ = sources[0]) === null || _sources$ === void 0 || (_sources$ = _sources$.axis) === null || _sources$ === void 0 ? void 0 : _sources$.type) === dh.plot.AxisType.Y) {
|
|
640
640
|
return ChartUtils.ORIENTATION.HORIZONTAL;
|
|
641
641
|
}
|
|
642
642
|
return ChartUtils.ORIENTATION.VERTICAL;
|
|
@@ -713,7 +713,6 @@ class ChartUtils {
|
|
|
713
713
|
seriesData.line = {
|
|
714
714
|
width: 1 // default line width for lines, should eventually be able to override
|
|
715
715
|
};
|
|
716
|
-
|
|
717
716
|
if (plotStyle === dh.plot.SeriesPlotStyle.AREA) {
|
|
718
717
|
seriesData.fill = 'tozeroy';
|
|
719
718
|
} else if (plotStyle === dh.plot.SeriesPlotStyle.STACKED_AREA) {
|