scichart 3.2.491 → 3.2.516
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/Charting/ChartModifiers/CursorModifier.js +3 -7
- package/Charting/ChartModifiers/RolloverModifier.js +1 -2
- package/Charting/ChartModifiers/VerticalSliceModifier.js +6 -0
- package/Charting/LayoutManager/SynchronizedLayoutManager.js +12 -0
- package/Charting/Numerics/TickCoordinateProviders/DefaultTickCoordinatesProvider.d.ts +5 -0
- package/Charting/Numerics/TickCoordinateProviders/DefaultTickCoordinatesProvider.js +11 -1
- package/Charting/Numerics/TickCoordinateProviders/StaticTickCoordinatesProvider.d.ts +19 -0
- package/Charting/Numerics/TickCoordinateProviders/StaticTickCoordinatesProvider.js +86 -0
- package/Charting/Numerics/TickCoordinateProviders/TickCoordinatesProvider.d.ts +2 -0
- package/Charting/Numerics/TickProviders/LogarithmicTickProvider.d.ts +1 -0
- package/Charting/Numerics/TickProviders/LogarithmicTickProvider.js +6 -1
- package/Charting/Visuals/Annotations/AxisMarkerAnnotation.js +1 -2
- package/Charting/Visuals/Annotations/BoxAnnotation.js +1 -2
- package/Charting/Visuals/Annotations/CursorTooltipSvgAnnotation.d.ts +1 -2
- package/Charting/Visuals/Annotations/CursorTooltipSvgAnnotation.js +2 -3
- package/Charting/Visuals/Annotations/LineAnnotation.js +1 -2
- package/Charting/Visuals/Annotations/NativeTextAnnotation.js +1 -2
- package/Charting/Visuals/Annotations/OverviewCustomResizableAnnotation.js +1 -2
- package/Charting/Visuals/Annotations/RolloverMarkerSvgAnnotation.js +1 -1
- package/Charting/Visuals/Annotations/RolloverTooltipSvgAnnotation.d.ts +1 -2
- package/Charting/Visuals/Annotations/RolloverTooltipSvgAnnotation.js +16 -17
- package/Charting/Visuals/Annotations/SvgAnnotationBase.d.ts +2 -0
- package/Charting/Visuals/Annotations/SvgAnnotationBase.js +11 -7
- package/Charting/Visuals/Axis/AxisBase2D.d.ts +14 -1
- package/Charting/Visuals/Axis/AxisBase2D.js +51 -19
- package/Charting/Visuals/Axis/AxisCore.d.ts +1 -1
- package/Charting/Visuals/Axis/DeltaCalculator/LogarithmicDeltaCalculator.d.ts +1 -0
- package/Charting/Visuals/Axis/DeltaCalculator/LogarithmicDeltaCalculator.js +13 -4
- package/Charting/Visuals/Axis/IAxisCoreOptions.d.ts +2 -2
- package/Charting/Visuals/Axis/LogarithmicAxis.d.ts +6 -1
- package/Charting/Visuals/Axis/LogarithmicAxis.js +27 -10
- package/Charting/Visuals/Axis/constants.d.ts +2 -1
- package/Charting/Visuals/Axis/constants.js +1 -0
- package/Charting/Visuals/Helpers/createPen.js +8 -0
- package/Charting/Visuals/Legend/SciChartLegendBase.d.ts +1 -1
- package/Charting/Visuals/Legend/SciChartLegendBase.js +8 -3
- package/Charting/Visuals/RenderableSeries/BaseRenderableSeries.d.ts +7 -0
- package/Charting/Visuals/RenderableSeries/BaseRenderableSeries.js +41 -16
- package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelProvider.js +1 -1
- package/Charting/Visuals/RenderableSeries/DataLabels/DataLabelState.js +4 -4
- package/Charting/Visuals/RenderableSeries/IBaseRenderableSeriesOptions.d.ts +5 -0
- package/Charting/Visuals/RenderableSeries/RolloverModifier/RolloverModifierRenderableSeriesProps.js +7 -2
- package/Charting/Visuals/RenderableSeries/constants.d.ts +2 -1
- package/Charting/Visuals/RenderableSeries/constants.js +1 -0
- package/Charting/Visuals/SciChartOverview.js +3 -2
- package/Charting/Visuals/SciChartPieSurface/IPieSurfaceOptions.d.ts +1 -0
- package/Charting/Visuals/SciChartPieSurface/SciChartPieSurface.js +9 -8
- package/Charting/Visuals/SciChartSurfaceBase.js +5 -1
- package/Charting3D/Visuals/Axis/AxisBase3D.d.ts +1 -1
- package/Core/BuildStamp.d.ts +1 -1
- package/Core/BuildStamp.js +2 -2
- package/README.md +10 -1
- package/_wasm/scichart.browser.js +1 -1
- package/_wasm/scichart2d.js +1 -1
- package/_wasm/scichart2d.wasm +0 -0
- package/_wasm/scichart3d.js +1 -1
- package/_wasm/scichart3d.wasm +0 -0
- package/index.d.ts +1 -0
- package/index.dev.js +323 -123
- package/index.js +13 -11
- package/index.min.js +1 -1
- package/package.json +1 -1
- package/types/TSciChart.d.ts +18 -17
- package/types/TSciChart3D.d.ts +1 -0
package/Charting/Visuals/RenderableSeries/RolloverModifier/RolloverModifierRenderableSeriesProps.js
CHANGED
|
@@ -126,9 +126,14 @@ var RolloverModifierRenderableSeriesProps = /** @class */ (function () {
|
|
|
126
126
|
configurable: true
|
|
127
127
|
});
|
|
128
128
|
RolloverModifierRenderableSeriesProps.prototype.delete = function () {
|
|
129
|
+
var _a, _b;
|
|
129
130
|
this.rolloverModifier = undefined;
|
|
130
|
-
this.marker
|
|
131
|
-
|
|
131
|
+
if (!((_a = this.marker) === null || _a === void 0 ? void 0 : _a.isDeleted)) {
|
|
132
|
+
this.marker = (0, Deleter_1.deleteSafe)(this.marker);
|
|
133
|
+
}
|
|
134
|
+
if (!((_b = this.tooltip) === null || _b === void 0 ? void 0 : _b.isDeleted)) {
|
|
135
|
+
this.tooltip = (0, Deleter_1.deleteSafe)(this.tooltip);
|
|
136
|
+
}
|
|
132
137
|
};
|
|
133
138
|
RolloverModifierRenderableSeriesProps.prototype.notifyPropertyChanged = function (propertyName) {
|
|
134
139
|
if (this.invalidateParentCallback) {
|
|
@@ -66,4 +66,5 @@ var PROPERTY;
|
|
|
66
66
|
PROPERTY["Z_MULTIPLIER"] = "Z_MULTIPLIER";
|
|
67
67
|
PROPERTY["Z_LABEL_PROVIDER"] = "Z_LABEL_PROVIDER";
|
|
68
68
|
PROPERTY["SERIES_TEXT_PROVIDER"] = "SERIES_TEXT_PROVIDER";
|
|
69
|
+
PROPERTY["CLIPTOYRANGE"] = "CLIPTOYRANGE";
|
|
69
70
|
})(PROPERTY = exports.PROPERTY || (exports.PROPERTY = {}));
|
|
@@ -170,8 +170,9 @@ var SciChartOverview = /** @class */ (function (_super) {
|
|
|
170
170
|
};
|
|
171
171
|
/** @inheritDoc */
|
|
172
172
|
SciChartOverview.prototype.delete = function () {
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
if (this.overviewSciChartSurface && !this.overviewSciChartSurface.isDeleted) {
|
|
174
|
+
this.overviewSciChartSurface.delete();
|
|
175
|
+
}
|
|
175
176
|
this.overviewWasmContext = undefined;
|
|
176
177
|
};
|
|
177
178
|
return SciChartOverview;
|
|
@@ -50,6 +50,7 @@ export interface IPieSurfaceOptions extends ISurfaceOptionsBase {
|
|
|
50
50
|
valueMode?: EPieValueMode;
|
|
51
51
|
/**
|
|
52
52
|
* Use this to adjust the position of the labels. 1 is the default. Larger values will shift the labels outwards.
|
|
53
|
+
* For Pie charts, 1.7 will place the labels outside the pie.
|
|
53
54
|
* If you want more detailed control you can override calcTitlePosition.
|
|
54
55
|
*/
|
|
55
56
|
labelRadiusAdjustment?: number;
|
|
@@ -102,7 +102,7 @@ var SciChartPieSurface = /** @class */ (function (_super) {
|
|
|
102
102
|
function SciChartPieSurface(canvases, options) {
|
|
103
103
|
if (canvases === void 0) { canvases = {}; }
|
|
104
104
|
var _this = this;
|
|
105
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
105
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
106
106
|
_this = _super.call(this) || this;
|
|
107
107
|
_this.animate = true;
|
|
108
108
|
/* The number of frames for the animation. Default 30. A frame will be trigged every 20ms. */
|
|
@@ -166,18 +166,19 @@ var SciChartPieSurface = /** @class */ (function (_super) {
|
|
|
166
166
|
_this.animate = (_f = options === null || options === void 0 ? void 0 : options.animate) !== null && _f !== void 0 ? _f : _this.animate;
|
|
167
167
|
_this.holeRadiusSizingModeProperty = (_g = options === null || options === void 0 ? void 0 : options.holeRadiusSizingMode) !== null && _g !== void 0 ? _g : _this.holeRadiusSizingModeProperty;
|
|
168
168
|
_this.seriesSpacingProperty = (_h = options === null || options === void 0 ? void 0 : options.seriesSpacing) !== null && _h !== void 0 ? _h : _this.seriesSpacingProperty;
|
|
169
|
-
_this.
|
|
170
|
-
_this.legend.
|
|
171
|
-
_this.legend.
|
|
172
|
-
_this.legend.
|
|
173
|
-
_this.
|
|
169
|
+
_this.labelRadiusProperty = (_j = options === null || options === void 0 ? void 0 : options.labelRadiusAdjustment) !== null && _j !== void 0 ? _j : _this.labelRadiusProperty;
|
|
170
|
+
_this.legend.showLegend = (_k = options === null || options === void 0 ? void 0 : options.showLegend) !== null && _k !== void 0 ? _k : _this.legend.showLegend;
|
|
171
|
+
_this.legend.animate = (_l = options === null || options === void 0 ? void 0 : options.animateLegend) !== null && _l !== void 0 ? _l : _this.legend.animate;
|
|
172
|
+
_this.legend.showCheckboxes = (_m = options === null || options === void 0 ? void 0 : options.showLegendCheckBoxes) !== null && _m !== void 0 ? _m : _this.legend.showCheckboxes;
|
|
173
|
+
_this.legend.showSeriesMarkers = (_o = options === null || options === void 0 ? void 0 : options.showLegendSeriesMarkers) !== null && _o !== void 0 ? _o : _this.legend.showSeriesMarkers;
|
|
174
|
+
_this.paddingProperty = (_p = options === null || options === void 0 ? void 0 : options.padding) !== null && _p !== void 0 ? _p : _this.paddingProperty;
|
|
174
175
|
if (options === null || options === void 0 ? void 0 : options.labelProvider) {
|
|
175
176
|
if (!("getSegmentText" in (options === null || options === void 0 ? void 0 : options.labelProvider))) {
|
|
176
177
|
options.labelProvider = (0, classFactory_1.createType)(BaseType_1.EBaseType.LabelProvider, options.labelProvider.type, undefined, options.labelProvider.options);
|
|
177
178
|
}
|
|
178
179
|
}
|
|
179
|
-
_this.labelProvider = (
|
|
180
|
-
_this.valueModeProperty = (
|
|
180
|
+
_this.labelProvider = (_q = options === null || options === void 0 ? void 0 : options.labelProvider) !== null && _q !== void 0 ? _q : new PieLabelProvider_1.PieLabelProvider();
|
|
181
|
+
_this.valueModeProperty = (_r = options === null || options === void 0 ? void 0 : options.valueMode) !== null && _r !== void 0 ? _r : _this.valueModeProperty;
|
|
181
182
|
return _this;
|
|
182
183
|
}
|
|
183
184
|
/**
|
|
@@ -133,11 +133,15 @@ var SciChartSurfaceBase = /** @class */ (function (_super) {
|
|
|
133
133
|
if (process.env.NODE_ENV !== "production") {
|
|
134
134
|
if (MemoryUsageHelper_1.MemoryUsageHelper.isMemoryUsageDebugEnabled) {
|
|
135
135
|
var rootContainer = document.body;
|
|
136
|
+
var wasAttached_1 = false;
|
|
136
137
|
var observer_1 = new MutationObserver(function () {
|
|
137
138
|
var isInDom = _this.domChartRoot.isConnected;
|
|
138
|
-
if (!isInDom && !_this.isDeleted) {
|
|
139
|
+
if (wasAttached_1 && !isInDom && !_this.isDeleted) {
|
|
139
140
|
console.warn("The chart root element \"".concat(_this.domChartRoot.id, "\" was detached before the surface ").concat(_this.id, " was properly disposed! Make sure to call \"delete\" method on the surface when it is not longer needed."));
|
|
140
141
|
}
|
|
142
|
+
if (isInDom) {
|
|
143
|
+
wasAttached_1 = true;
|
|
144
|
+
}
|
|
141
145
|
});
|
|
142
146
|
observer_1.observe(rootContainer, { childList: true, subtree: true });
|
|
143
147
|
_this.addDeletable({
|
|
@@ -224,7 +224,7 @@ export declare abstract class AxisBase3D extends AxisCore implements IThemeable
|
|
|
224
224
|
/**
|
|
225
225
|
* gets the axis size from the WorldDimensions, depending on whether it is an X,Y or ZAxis
|
|
226
226
|
*/
|
|
227
|
-
|
|
227
|
+
getAxisSize(): number;
|
|
228
228
|
/**
|
|
229
229
|
* Given an array of numeric values for axis labels, returns a list of strings. Uses {@link labelProvider} property to format labels
|
|
230
230
|
* @param majorTicks The major tick values as numbers to be converted to labels
|
package/Core/BuildStamp.d.ts
CHANGED
|
@@ -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.
|
|
3
|
+
export declare const libraryVersion = "3.2.516";
|
|
4
4
|
export declare const checkBuildStamp: (wasmContext: TSciChart | TSciChart3D) => boolean;
|
package/Core/BuildStamp.js
CHANGED
|
@@ -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-
|
|
4
|
+
var buildStamp = "2023-11-13T00:00:00";
|
|
5
5
|
var result;
|
|
6
6
|
// tslint:disable-next-line:no-var-requires
|
|
7
|
-
exports.libraryVersion = "3.2.
|
|
7
|
+
exports.libraryVersion = "3.2.516";
|
|
8
8
|
var checkBuildStamp = function (wasmContext) {
|
|
9
9
|
if (result !== undefined)
|
|
10
10
|
return result;
|
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# SciChart.js: High Performance JavaScript Chart Library
|
|
2
2
|
|
|
3
|
+
> **NEW!** ChangeLog
|
|
4
|
+
>
|
|
5
|
+
> Find out what's new in every Major and Minor release at the [Change Log here](https://www.scichart.com/changelog/scichart-js/)
|
|
6
|
+
|
|
3
7
|
[SciChart.js](https://www.scichart.com) is a High Performance JavaScript & TypeScript Charting library
|
|
4
8
|
which WebGL and WebAssembly to achieve incredible real-time and big-data performance. Fast and able to draw millions of datapoints in realtime, our charts will never cause your app to slow down again!
|
|
5
9
|
|
|
@@ -9,7 +13,12 @@ which WebGL and WebAssembly to achieve incredible real-time and big-data perform
|
|
|
9
13
|
|
|
10
14
|
[](https://www.scichart.com/javascript-chart-features)
|
|
11
15
|
|
|
12
|
-
SciChart.JS v3 is released! Check out
|
|
16
|
+
SciChart.JS v3.2 is released! Check out
|
|
17
|
+
|
|
18
|
+
- [Latest Changes](https://www.scichart.com/changelog/scichart-js/)
|
|
19
|
+
- [v3.2 Release notes](https://www.scichart.com/scichart-js-v3-2-released/)
|
|
20
|
+
- [v3.1 Release notes](https://www.scichart.com/scichart-js-v3-1-released/)
|
|
21
|
+
- [v3.0 Release notes](https://www.scichart.com/scichart-js-v3-0-released) There should not be any breaking changes from v2.
|
|
13
22
|
|
|
14
23
|
## License
|
|
15
24
|
|