scichart 3.2.470 → 3.2.476

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.
Files changed (53) hide show
  1. package/Builder/buildDataSeries.d.ts +7 -3
  2. package/Builder/buildDataSeries.js +87 -112
  3. package/Builder/buildSeries.js +52 -1
  4. package/Builder/chartBuilder.d.ts +1 -1
  5. package/Charting/ChartModifiers/RolloverModifier.js +3 -0
  6. package/Charting/ChartModifiers/SeriesSelectionModifier.d.ts +2 -0
  7. package/Charting/ChartModifiers/SeriesSelectionModifier.js +21 -0
  8. package/Charting/LayoutManager/SciChartVerticalGroup.d.ts +1 -0
  9. package/Charting/LayoutManager/SciChartVerticalGroup.js +18 -0
  10. package/Charting/LayoutManager/SynchronizedLayoutManager.d.ts +1 -1
  11. package/Charting/Model/BaseDataSeries.d.ts +3 -1
  12. package/Charting/Model/BaseDataSeries.js +15 -8
  13. package/Charting/Model/BaseHeatmapDataSeries.d.ts +3 -1
  14. package/Charting/Model/BaseHeatmapDataSeries.js +17 -10
  15. package/Charting/Model/Filters/HlcScaleOffsetFilter.d.ts +13 -1
  16. package/Charting/Model/Filters/OhlcScaleOffsetFilter.d.ts +13 -1
  17. package/Charting/Model/Filters/XyLinearTrendFilter.d.ts +14 -2
  18. package/Charting/Model/Filters/XyMovingAverageFilter.d.ts +13 -2
  19. package/Charting/Model/Filters/XyRatioFilter.d.ts +13 -1
  20. package/Charting/Model/Filters/XyScaleOffsetFilter.d.ts +14 -2
  21. package/Charting/Model/Filters/XyyScaleOffsetFilter.d.ts +14 -1
  22. package/Charting/Model/Filters/XyzScaleOffsetFilter.d.ts +14 -1
  23. package/Charting/Model/HlcDataSeries.d.ts +1 -1
  24. package/Charting/Model/HlcDataSeries.js +17 -16
  25. package/Charting/Model/IDataSeries.d.ts +2 -1
  26. package/Charting/Model/NonUniformHeatmapDataSeries.d.ts +1 -5
  27. package/Charting/Model/NonUniformHeatmapDataSeries.js +8 -18
  28. package/Charting/Model/OhlcDataSeries.d.ts +1 -1
  29. package/Charting/Model/OhlcDataSeries.js +20 -19
  30. package/Charting/Model/UniformHeatmapDataSeries.d.ts +1 -5
  31. package/Charting/Model/UniformHeatmapDataSeries.js +9 -10
  32. package/Charting/Model/XyDataSeries.d.ts +1 -1
  33. package/Charting/Model/XyDataSeries.js +11 -10
  34. package/Charting/Model/XyTextDataSeries.d.ts +1 -1
  35. package/Charting/Model/XyTextDataSeries.js +8 -7
  36. package/Charting/Model/XyyDataSeries.d.ts +1 -1
  37. package/Charting/Model/XyyDataSeries.js +14 -13
  38. package/Charting/Model/XyzDataSeries.d.ts +1 -1
  39. package/Charting/Model/XyzDataSeries.js +14 -13
  40. package/Charting/Visuals/Axis/AxisTitleRenderer.js +6 -0
  41. package/Charting/Visuals/RenderableSeries/BaseRenderableSeries.js +27 -17
  42. package/Charting/Visuals/RenderableSeries/BaseStackedRenderableSeries.js +1 -1
  43. package/Charting/Visuals/SciChartSurface.js +4 -0
  44. package/Core/BuildStamp.d.ts +1 -1
  45. package/Core/BuildStamp.js +2 -2
  46. package/_wasm/scichart.browser.js +1 -1
  47. package/_wasm/scichart2d.wasm +0 -0
  48. package/_wasm/scichart3d.wasm +0 -0
  49. package/index.d.ts +1 -0
  50. package/index.dev.js +350 -255
  51. package/index.min.js +1 -1
  52. package/package.json +1 -1
  53. package/utils/parseColor.js +1 -5
@@ -745,7 +745,7 @@ var BaseRenderableSeries = /** @class */ (function (_super) {
745
745
  };
746
746
  /** @inheritDoc */
747
747
  BaseRenderableSeries.prototype.toJSON = function (excludeData) {
748
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
748
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
749
749
  if (excludeData === void 0) { excludeData = false; }
750
750
  var paletteProvider;
751
751
  if (this.paletteProvider) {
@@ -778,29 +778,39 @@ var BaseRenderableSeries = /** @class */ (function (_super) {
778
778
  dataLabelProvider: (_c = this.dataLabelProvider) === null || _c === void 0 ? void 0 : _c.toJSON()
779
779
  // onSelectedChanged: this.onSelectedChanged
780
780
  };
781
- if (((_d = this.dataSeries) === null || _d === void 0 ? void 0 : _d.type) === IDataSeries_1.EDataSeriesType.Xy) {
782
- return { type: this.type, options: options, xyData: this.dataSeries.toJSON(excludeData) };
781
+ var dataSeriesDefinition = (_d = this.dataSeries) === null || _d === void 0 ? void 0 : _d.toJSON(excludeData);
782
+ var dataSeriesOptions = dataSeriesDefinition === null || dataSeriesDefinition === void 0 ? void 0 : dataSeriesDefinition.options;
783
+ if (((_e = this.dataSeries) === null || _e === void 0 ? void 0 : _e.type) === IDataSeries_1.EDataSeriesType.Xy) {
784
+ return { type: this.type, options: options, xyData: dataSeriesOptions };
783
785
  }
784
- else if (((_e = this.dataSeries) === null || _e === void 0 ? void 0 : _e.type) === IDataSeries_1.EDataSeriesType.Xyy) {
785
- return { type: this.type, options: options, xyyData: this.dataSeries.toJSON(excludeData) };
786
+ else if (((_f = this.dataSeries) === null || _f === void 0 ? void 0 : _f.type) === IDataSeries_1.EDataSeriesType.Xyy) {
787
+ return { type: this.type, options: options, xyyData: dataSeriesOptions };
786
788
  }
787
- else if (((_f = this.dataSeries) === null || _f === void 0 ? void 0 : _f.type) === IDataSeries_1.EDataSeriesType.Xyz) {
788
- return { type: this.type, options: options, xyzData: this.dataSeries.toJSON(excludeData) };
789
+ else if (((_g = this.dataSeries) === null || _g === void 0 ? void 0 : _g.type) === IDataSeries_1.EDataSeriesType.Xyz) {
790
+ return { type: this.type, options: options, xyzData: dataSeriesOptions };
789
791
  }
790
- else if (((_g = this.dataSeries) === null || _g === void 0 ? void 0 : _g.type) === IDataSeries_1.EDataSeriesType.Ohlc) {
791
- return { type: this.type, options: options, ohlcData: this.dataSeries.toJSON(excludeData) };
792
+ else if (((_h = this.dataSeries) === null || _h === void 0 ? void 0 : _h.type) === IDataSeries_1.EDataSeriesType.Ohlc) {
793
+ return { type: this.type, options: options, ohlcData: dataSeriesOptions };
792
794
  }
793
- else if (((_h = this.dataSeries) === null || _h === void 0 ? void 0 : _h.type) === IDataSeries_1.EDataSeriesType.Hlc) {
794
- return { type: this.type, options: options, hlcData: this.dataSeries.toJSON(excludeData) };
795
+ else if (((_j = this.dataSeries) === null || _j === void 0 ? void 0 : _j.type) === IDataSeries_1.EDataSeriesType.Hlc) {
796
+ return { type: this.type, options: options, hlcData: dataSeriesOptions };
795
797
  }
796
- else if (((_j = this.dataSeries) === null || _j === void 0 ? void 0 : _j.type) === IDataSeries_1.EDataSeriesType.XyText) {
797
- return { type: this.type, options: options, xyTextData: this.dataSeries.toJSON(excludeData) };
798
+ else if (((_k = this.dataSeries) === null || _k === void 0 ? void 0 : _k.type) === IDataSeries_1.EDataSeriesType.XyText) {
799
+ return { type: this.type, options: options, xyTextData: dataSeriesOptions };
798
800
  }
799
- else if (((_k = this.dataSeries) === null || _k === void 0 ? void 0 : _k.type) === IDataSeries_1.EDataSeriesType.HeatmapUniform) {
800
- return { type: this.type, options: options, heatmapData: this.dataSeries.toJSON(excludeData) };
801
+ else if (((_l = this.dataSeries) === null || _l === void 0 ? void 0 : _l.type) === IDataSeries_1.EDataSeriesType.HeatmapUniform) {
802
+ return {
803
+ type: this.type,
804
+ options: options,
805
+ heatmapData: dataSeriesOptions
806
+ };
801
807
  }
802
- else if (((_l = this.dataSeries) === null || _l === void 0 ? void 0 : _l.type) === IDataSeries_1.EDataSeriesType.HeatmapNonUniform) {
803
- return { type: this.type, options: options, heatmapData: this.dataSeries.toJSON(excludeData) };
808
+ else if (((_m = this.dataSeries) === null || _m === void 0 ? void 0 : _m.type) === IDataSeries_1.EDataSeriesType.HeatmapNonUniform) {
809
+ return {
810
+ type: this.type,
811
+ options: options,
812
+ heatmapData: dataSeriesOptions
813
+ };
804
814
  }
805
815
  else {
806
816
  return { type: this.type, options: options };
@@ -291,7 +291,7 @@ var BaseStackedRenderableSeries = /** @class */ (function (_super) {
291
291
  };
292
292
  if (((_a = this.dataSeries) === null || _a === void 0 ? void 0 : _a.type) === IDataSeries_1.EDataSeriesType.Xy) {
293
293
  // @ts-ignore
294
- return { type: this.type, options: options, xyData: this.dataSeries.toJSON(excludeData) };
294
+ return { type: this.type, options: options, xyData: this.dataSeries.toJSON(excludeData).options };
295
295
  }
296
296
  else {
297
297
  // @ts-ignore
@@ -113,6 +113,7 @@ var TextStyle_1 = require("../../types/TextStyle");
113
113
  var TextPosition_1 = require("../../types/TextPosition");
114
114
  var Globals_1 = require("../../Core/Globals");
115
115
  var createMaster3d_1 = require("../../Charting3D/Visuals/createMaster3d");
116
+ var LayoutMangerType_1 = require("../../types/LayoutMangerType");
116
117
  exports.sciChartConfig = {};
117
118
  /**
118
119
  * @summary The {@link SciChartSurface} is the root 2D Chart control in SciChart's High Performance Real-time
@@ -743,6 +744,9 @@ var SciChartSurface = /** @class */ (function (_super) {
743
744
  chart.delete();
744
745
  }
745
746
  this.subChartsProperty = [];
747
+ if (this.layoutManagerProperty.type === LayoutMangerType_1.ELayoutManagerType.Synchronised) {
748
+ this.layoutManagerProperty.verticalGroup.removeSurface(this);
749
+ }
746
750
  this.layoutManagerProperty.sciChartSurface = undefined;
747
751
  this.layoutManagerProperty = undefined;
748
752
  this.renderableSeries.asArray().forEach(function (rs) { return rs.delete(); });
@@ -1,4 +1,4 @@
1
1
  import { TSciChart } from "../types/TSciChart";
2
2
  import { TSciChart3D } from "../types/TSciChart3D";
3
- export declare const libraryVersion = "3.2.470";
3
+ export declare const libraryVersion = "3.2.476";
4
4
  export declare const checkBuildStamp: (wasmContext: TSciChart | TSciChart3D) => boolean;
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.checkBuildStamp = exports.libraryVersion = void 0;
4
- var buildStamp = "2023-09-26T00:00:00";
4
+ var buildStamp = "2023-09-28T00:00:00";
5
5
  var result;
6
6
  // tslint:disable-next-line:no-var-requires
7
- exports.libraryVersion = "3.2.470";
7
+ exports.libraryVersion = "3.2.476";
8
8
  var checkBuildStamp = function (wasmContext) {
9
9
  if (result !== undefined)
10
10
  return result;