scichart 2.2.2351 → 2.2.2393
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/Builder/buildAxis.d.ts +7 -0
- package/Builder/buildAxis.js +6 -0
- package/Builder/buildDataSeries.d.ts +19 -1
- package/Builder/buildDataSeries.js +22 -1
- package/Builder/buildSeries.d.ts +7 -2
- package/Builder/buildSeries.js +5 -1
- package/Charting/ChartModifiers/ModifierMouseArgs.d.ts +2 -2
- package/Charting/ChartModifiers/ModifierMouseArgs.js +4 -2
- package/Charting/Drawing/WebGlRenderContext2D.js +26 -42
- package/Charting/Model/BaseHeatmapDataSeries.js +1 -1
- package/Charting/Model/ChartData/HlcSeriesInfo.d.ts +12 -0
- package/Charting/Model/ChartData/HlcSeriesInfo.js +52 -0
- package/Charting/Model/Filters/HlcCustomFilter.d.ts +41 -0
- package/Charting/Model/Filters/HlcCustomFilter.js +119 -0
- package/Charting/Model/Filters/HlcFilterBase.d.ts +30 -0
- package/Charting/Model/Filters/HlcFilterBase.js +141 -0
- package/Charting/Model/Filters/HlcScaleOffsetFilter.d.ts +18 -0
- package/Charting/Model/Filters/HlcScaleOffsetFilter.js +86 -0
- package/Charting/Model/Filters/XyFilterBase.d.ts +2 -0
- package/Charting/Model/Filters/XyFilterBase.js +6 -0
- package/Charting/Model/Filters/XyyFilterBase.js +9 -0
- package/Charting/Model/Filters/XyzFilterBase.js +12 -3
- package/Charting/Model/HlcDataSeries.d.ts +189 -0
- package/Charting/Model/HlcDataSeries.js +557 -0
- package/Charting/Model/IDataSeries.d.ts +5 -1
- package/Charting/Model/IDataSeries.js +4 -0
- package/Charting/Model/PointSeries/HlcPointSeriesWrapped.d.ts +10 -0
- package/Charting/Model/PointSeries/HlcPointSeriesWrapped.js +31 -0
- package/Charting/Model/PointSeries/IPointSeries.d.ts +5 -0
- package/Charting/Numerics/CoordinateCalculators/LogarithmicCoordinateCalculator.d.ts +2 -2
- package/Charting/Numerics/CoordinateCalculators/LogarithmicCoordinateCalculator.js +15 -6
- package/Charting/Services/SciChartRenderer.d.ts +1 -0
- package/Charting/Services/SciChartRenderer.js +6 -0
- package/Charting/Visuals/Annotations/RolloverTooltipSvgAnnotation.js +8 -0
- package/Charting/Visuals/Axis/AxisBase2D.d.ts +1 -1
- package/Charting/Visuals/Axis/AxisBase2D.js +9 -22
- package/Charting/Visuals/Axis/AxisCore.d.ts +4 -0
- package/Charting/Visuals/Axis/AxisCore.js +6 -0
- package/Charting/Visuals/Axis/AxisRenderer.js +6 -10
- package/Charting/Visuals/Axis/DateTimeNumericAxis.d.ts +11 -0
- package/Charting/Visuals/Axis/DateTimeNumericAxis.js +36 -0
- package/Charting/Visuals/Axis/DeltaCalculator/DateTimeDeltaCalculator.d.ts +28 -0
- package/Charting/Visuals/Axis/DeltaCalculator/DateTimeDeltaCalculator.js +125 -0
- package/Charting/Visuals/Axis/LabelProvider/PieLabelProvider.d.ts +7 -2
- package/Charting/Visuals/Axis/LabelProvider/PieLabelProvider.js +9 -4
- package/Charting/Visuals/Axis/LabelProvider/SmartDateLabelProvider.js +18 -2
- package/Charting/Visuals/Axis/LogarithmicAxis.d.ts +1 -0
- package/Charting/Visuals/Axis/LogarithmicAxis.js +5 -3
- package/Charting/Visuals/Helpers/NativeObject.d.ts +13 -0
- package/Charting/Visuals/Helpers/NativeObject.js +101 -0
- package/Charting/Visuals/Helpers/createNativeRect.d.ts +2 -2
- package/Charting/Visuals/Helpers/createNativeRect.js +3 -1
- package/Charting/Visuals/Helpers/drawBorder.js +2 -2
- package/Charting/Visuals/Legend/SciChartLegend.js +1 -1
- package/Charting/Visuals/Legend/SciChartLegendBase.d.ts +1 -0
- package/Charting/Visuals/Legend/SciChartLegendBase.js +4 -2
- package/Charting/Visuals/Legend/SciChartPieLegend.js +1 -1
- package/Charting/Visuals/RenderableSeries/BaseRenderableSeries.d.ts +9 -2
- package/Charting/Visuals/RenderableSeries/BaseRenderableSeries.js +74 -22
- package/Charting/Visuals/RenderableSeries/DrawingProviders/BaseSeriesDrawingProvider.js +14 -11
- package/Charting/Visuals/RenderableSeries/DrawingProviders/ErrorSeriesDrawingProvider.d.ts +46 -0
- package/Charting/Visuals/RenderableSeries/DrawingProviders/ErrorSeriesDrawingProvider.js +252 -0
- package/Charting/Visuals/RenderableSeries/FastErrorBarsRenderableSeries.d.ts +188 -0
- package/Charting/Visuals/RenderableSeries/FastErrorBarsRenderableSeries.js +357 -0
- package/Charting/Visuals/RenderableSeries/FastImpulseRenderableSeries.js +3 -10
- package/Charting/Visuals/RenderableSeries/HitTest/ErrorSeriesHitTestProvider.d.ts +20 -0
- package/Charting/Visuals/RenderableSeries/HitTest/ErrorSeriesHitTestProvider.js +120 -0
- package/Charting/Visuals/RenderableSeries/HitTest/hitTestHelpers.d.ts +6 -0
- package/Charting/Visuals/RenderableSeries/HitTest/hitTestHelpers.js +36 -0
- package/Charting/Visuals/RenderableSeries/StackedColumnCollection.js +1 -2
- package/Charting/Visuals/RenderableSeries/constants.d.ts +5 -0
- package/Charting/Visuals/RenderableSeries/constants.js +5 -0
- package/Charting/Visuals/SciChartPieSurface/IPieSurfaceOptions.d.ts +2 -1
- package/Charting/Visuals/SciChartPieSurface/PieSegment/IPieSegment.d.ts +5 -0
- package/Charting/Visuals/SciChartPieSurface/PieSegment/PieSegment.d.ts +116 -1
- package/Charting/Visuals/SciChartPieSurface/PieSegment/PieSegment.js +139 -4
- package/Charting/Visuals/SciChartPieSurface/PieSegment/constants.d.ts +4 -1
- package/Charting/Visuals/SciChartPieSurface/PieSegment/constants.js +3 -0
- package/Charting/Visuals/SciChartPieSurface/SciChartPieSurface.d.ts +13 -3
- package/Charting/Visuals/SciChartPieSurface/SciChartPieSurface.js +114 -74
- package/Charting/Visuals/SciChartPieSurface/constants.d.ts +2 -1
- package/Charting/Visuals/SciChartPieSurface/constants.js +1 -0
- package/Charting/Visuals/createMaster.js +15 -11
- package/Charting/Visuals/createSingle.js +3 -1
- package/Charting/Visuals/licenseManager2D.d.ts +6 -0
- package/Charting/Visuals/licenseManager2D.js +98 -9
- package/Charting/Visuals/licenseManager2dState.d.ts +11 -0
- package/Charting/Visuals/licenseManager2dState.js +37 -1
- package/Charting/Visuals/loader.js +4 -1
- package/Charting3D/Visuals/SciChart3DRenderer.js +1 -1
- package/Charting3D/Visuals/SciChart3DSurface.d.ts +8 -3
- package/Charting3D/Visuals/SciChart3DSurface.js +12 -3
- package/Charting3D/Visuals/createMaster3d.js +22 -16
- package/Charting3D/Visuals/createSingle3d.js +5 -6
- package/Charting3D/Visuals/licenseManager3D.js +3 -1
- package/Core/BuildStamp.d.ts +1 -1
- package/Core/BuildStamp.js +2 -2
- package/Core/Telemetry.d.ts +7 -0
- package/Core/Telemetry.js +109 -0
- package/Core/storage/localStorageApi.d.ts +4 -0
- package/Core/storage/localStorageApi.js +12 -0
- package/README.md +49 -13
- package/_wasm/scichart.browser.js +1 -1
- package/_wasm/scichart2d.js +10 -10
- package/_wasm/scichart2d.wasm +0 -0
- package/_wasm/scichart3d.js +97 -97
- package/_wasm/scichart3d.wasm +0 -0
- package/package.json +1 -1
- package/types/AxisType.d.ts +5 -1
- package/types/AxisType.js +4 -0
- package/types/DataFilterType.d.ts +1 -0
- package/types/DataFilterType.js +1 -0
- package/types/DataPointWidthMode.d.ts +13 -0
- package/types/DataPointWidthMode.js +17 -0
- package/types/ErrorDirection.d.ts +13 -0
- package/types/ErrorDirection.js +17 -0
- package/types/ErrorMode.d.ts +17 -0
- package/types/ErrorMode.js +21 -0
- package/types/NumericFormat.d.ts +4 -0
- package/types/NumericFormat.js +4 -0
- package/types/SeriesType.d.ts +3 -1
- package/types/SeriesType.js +2 -0
- package/types/TSciChart.d.ts +8 -2
- package/types/TSciChart3D.d.ts +5 -2
- package/utils/date.d.ts +1 -0
- package/utils/date.js +15 -1
- package/utils/guid.d.ts +6 -0
- package/utils/guid.js +17 -1
- package/utils/number.js +15 -2
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
declare function getIsLicenseDebug(): boolean;
|
|
2
|
+
declare function setIsLicenseDebug(value: boolean): void;
|
|
3
|
+
declare function clearLicensingDebug(): void;
|
|
2
4
|
declare function getLicenseWizardPort(): number;
|
|
3
5
|
declare function getLicenseWizardMaxPort(): number;
|
|
4
6
|
export declare const localStorageApi: {
|
|
5
7
|
getIsLicenseDebug: typeof getIsLicenseDebug;
|
|
8
|
+
setIsLicenseDebug: typeof setIsLicenseDebug;
|
|
9
|
+
clearLicensingDebug: typeof clearLicensingDebug;
|
|
6
10
|
getLicenseWizardMaxPort: typeof getLicenseWizardMaxPort;
|
|
7
11
|
getLicenseWizardPort: typeof getLicenseWizardPort;
|
|
8
12
|
};
|
|
@@ -7,6 +7,16 @@ function getIsLicenseDebug() {
|
|
|
7
7
|
return undefined;
|
|
8
8
|
return localStorage.getItem("LICENSE_DEBUG") === "1";
|
|
9
9
|
}
|
|
10
|
+
function setIsLicenseDebug(value) {
|
|
11
|
+
if (checkLocalStorageIsUndefined())
|
|
12
|
+
return;
|
|
13
|
+
localStorage.setItem("LICENSE_DEBUG", value ? "1" : "0");
|
|
14
|
+
}
|
|
15
|
+
function clearLicensingDebug() {
|
|
16
|
+
if (checkLocalStorageIsUndefined())
|
|
17
|
+
return;
|
|
18
|
+
localStorage.removeItem("LICENSE_DEBUG");
|
|
19
|
+
}
|
|
10
20
|
function getLicenseWizardPort() {
|
|
11
21
|
if (checkLocalStorageIsUndefined())
|
|
12
22
|
return undefined;
|
|
@@ -27,6 +37,8 @@ function getLicenseWizardMaxPort() {
|
|
|
27
37
|
}
|
|
28
38
|
exports.localStorageApi = {
|
|
29
39
|
getIsLicenseDebug: getIsLicenseDebug,
|
|
40
|
+
setIsLicenseDebug: setIsLicenseDebug,
|
|
41
|
+
clearLicensingDebug: clearLicensingDebug,
|
|
30
42
|
getLicenseWizardMaxPort: getLicenseWizardMaxPort,
|
|
31
43
|
getLicenseWizardPort: getLicenseWizardPort
|
|
32
44
|
};
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# SciChart.js: Ultra High Performance Realtime JavaScript Chart Library
|
|
2
2
|
|
|
3
|
-
[](https://www.scichart.com/javascript-chart-features)
|
|
4
4
|
|
|
5
5
|
[SciChart](https://www.scichart.com) provides a High Performance JavaScript & TypeScript Chart library which uses WebGL and WebAssembly to achieve incredible real-time and big-data performance.
|
|
6
6
|
|
|
@@ -10,11 +10,23 @@ SciChart is the _**only viable solution for mission-critical data visualization
|
|
|
10
10
|
|
|
11
11
|
Whether you are building Dashboards for business, stock-chart or trading apps, scientific or medical apps, or building a kiosk application on custom hardware with Electron, SciChart's ultra-fast 2D/3D WebGL rendering technology codenamed _Visual Xccelerator®_ will let you build apps, services and dashboards with rich charts & graphs that will delight your users.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
[](https://www.scichart.com/javascript-chart-features)
|
|
14
|
+
|
|
15
|
+
# What's New!
|
|
14
16
|
|
|
15
|
-
|
|
17
|
+
Check out what's new in SciChart.js at the below pages:
|
|
18
|
+
|
|
19
|
+
- [What's New in SciChart.js v2.0](https://www.scichart.com/documentation/js/current/What's%20New%20in%20SciChart.js%20SDK%20v2.x.html)
|
|
20
|
+
- [What's New in SciChart.js v2.1](https://www.scichart.com/documentation/js/current/WhatsNewInSciChart2_1.html)
|
|
21
|
+
- [What's New in SciChart.js v2.2](https://www.scichart.com/documentation/js/current/What's%20New%20in%20SciChart.js%20SDK%20v2.2.html)
|
|
22
|
+
|
|
23
|
+
See more at the Release Notes section at bottom of the page.
|
|
24
|
+
|
|
25
|
+
# Getting Started
|
|
16
26
|
|
|
17
|
-
[
|
|
27
|
+
> We've prepared a short [Getting Started guide here](https://www.scichart.com/getting-started-scichart-js).
|
|
28
|
+
>
|
|
29
|
+
> This will walk you through the entire process of starting a trial and show you where tutorials and documentation are and examples.
|
|
18
30
|
|
|
19
31
|
## Quick Start with Browser Bundle
|
|
20
32
|
|
|
@@ -26,11 +38,10 @@ We've prepared a short [Getting Started guide here](https://www.scichart.com/get
|
|
|
26
38
|
|
|
27
39
|
```javascript
|
|
28
40
|
async function initSciChart() {
|
|
29
|
-
//
|
|
30
|
-
SciChart.
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
});
|
|
41
|
+
// See deployment options for WebAssembly at https://www.scichart.com/documentation/js/current/Deploying%20Wasm%20or%20WebAssembly%20and%20Data%20Files%20with%20your%20app.html
|
|
42
|
+
// call useWasmFromCDN once before SciChart.js is initialised to load Wasm files from our CDN
|
|
43
|
+
SciChart.SciChartSurface.useWasmFromCDN();
|
|
44
|
+
|
|
34
45
|
// Create a chart using the json builder api
|
|
35
46
|
await SciChart.chartBuilder.buildChart("scichart-root", {
|
|
36
47
|
series: {
|
|
@@ -144,8 +155,11 @@ SciChart.js can be loaded as an ES6 module with Babel or TypeScript transpiler.
|
|
|
144
155
|
import { XyDataSeries } from "scichart/Charting/Model/XyDataSeries";
|
|
145
156
|
import { FastLineRenderableSeries } from "scichart/Charting/Visuals/RenderableSeries/FastLineRenderableSeries";
|
|
146
157
|
|
|
147
|
-
//
|
|
148
|
-
//
|
|
158
|
+
// Optional:
|
|
159
|
+
// call useWasmFromCDN once before SciChart.js is initialised to load Wasm files from our CDN
|
|
160
|
+
// Alternatively, you can package wasm with webpack or load from URL
|
|
161
|
+
SciChart.SciChartSurface.useWasmFromCDN();
|
|
162
|
+
// See deployment options for WebAssembly at https://www.scichart.com/documentation/js/current/Deploying%20Wasm%20or%20WebAssembly%20and%20Data%20Files%20with%20your%20app.html
|
|
149
163
|
|
|
150
164
|
async function initSciChart() {
|
|
151
165
|
// Create the SciChartSurface in the div 'scichart-root'
|
|
@@ -193,9 +207,9 @@ SciChart.js can be loaded as an ES6 module with Babel or TypeScript transpiler.
|
|
|
193
207
|
|
|
194
208
|
Follow [the link](https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-simple-chart) to find source code for this example.
|
|
195
209
|
|
|
196
|
-
## Documentation
|
|
210
|
+
## Documentation & Tutorials
|
|
197
211
|
|
|
198
|
-
We've taken the time to create hundreds of documentation pages for our JavaScript Charts, which you can find over at https://www.scichart.com/javascript-chart-documentation. Take a look here for tutorials, getting-started guides, API Docs (TypeDoc) and more.
|
|
212
|
+
We've taken the time to create hundreds of documentation pages and video tutorials for our JavaScript Charts, which you can find over at https://www.scichart.com/javascript-chart-documentation. Take a look here for tutorials, getting-started guides, API Docs (TypeDoc) and more.
|
|
199
213
|
|
|
200
214
|
[](https://www.scichart.com/javascript-chart-documentation)
|
|
201
215
|
|
|
@@ -205,8 +219,28 @@ An online demo version of scichart.js.examples can be seen at https://demo.scich
|
|
|
205
219
|
|
|
206
220
|
# Release Notes
|
|
207
221
|
|
|
222
|
+
## Version 2.2 with new Chart Types
|
|
223
|
+
|
|
224
|
+
See [What's New in SciChart.js v2.2](https://www.scichart.com/documentation/js/current/What's%20New%20in%20SciChart.js%20SDK%20v2.2.html)
|
|
225
|
+
|
|
226
|
+
**New Features**
|
|
227
|
+
|
|
228
|
+
- Added an Oil & gas Showcase demo
|
|
229
|
+
- Added a Lollipop (Impulse / Stem) Chart Type
|
|
230
|
+
- Added Error Bars (horizontal & vertical error bars) chart types
|
|
231
|
+
- Added multiple new enhancements to Pie / Donut Chart, including
|
|
232
|
+
- Animated Updates on Pie chart segments
|
|
233
|
+
- Ability to format, hide or change the HTML content of pie chart labels
|
|
234
|
+
- Added multiple styling & configuration improvements to pie charts
|
|
235
|
+
- Added Axis configuration options
|
|
236
|
+
- Ability to draw series behind axis (axis inside chart)
|
|
237
|
+
- You can now set the Axis Background and Border
|
|
238
|
+
-
|
|
239
|
+
|
|
208
240
|
## Version 2.1 with Major Performance Improvements
|
|
209
241
|
|
|
242
|
+
See [What's New in SciChart.js v2.1](https://www.scichart.com/documentation/js/current/WhatsNewInSciChart2_1.html)
|
|
243
|
+
|
|
210
244
|
We’ve used our expertise high performance computing in other platforms of SciChart to make massive improvements to chart rendering, updating and startup speed in SciChart.js v2.1.
|
|
211
245
|
|
|
212
246
|
**Performance improvements**:
|
|
@@ -250,6 +284,8 @@ See all the details at [SciChart.js v2.1 release](https://www.scichart.com/scich
|
|
|
250
284
|
|
|
251
285
|
## Version 2.0
|
|
252
286
|
|
|
287
|
+
See [What's New in SciChart.js v2.0](https://www.scichart.com/documentation/js/current/What's%20New%20in%20SciChart.js%20SDK%20v2.x.html)
|
|
288
|
+
|
|
253
289
|
SciChart.js v2 is a huge release with many new features, improvements and fixes including:
|
|
254
290
|
|
|
255
291
|
- New pure-json builder api
|