@deephaven/chart 1.4.1-beta.2 → 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.
@@ -629,14 +629,14 @@ class ChartUtils {
629
629
  }
630
630
  }
631
631
  getPlotlySeriesOrientation(series) {
632
- var _sources$, _sources$$axis;
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 ? void 0 : (_sources$$axis = _sources$.axis) === null || _sources$$axis === void 0 ? void 0 : _sources$$axis.type) === dh.plot.AxisType.Y) {
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) {