scichart 2.1.2273 → 2.1.2301
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/buildSeries.d.ts +5 -0
- package/Builder/buildSeries.js +4 -0
- package/Charting/Model/BaseHeatmapDataSeries.d.ts +2 -2
- package/Charting/Model/BaseHeatmapDataSeries.js +13 -4
- package/Charting/Themes/IThemeProvider.d.ts +6 -0
- package/Charting/Themes/SciChartJSDarkTheme.d.ts +2 -0
- package/Charting/Themes/SciChartJSDarkTheme.js +2 -0
- package/Charting/Themes/SciChartJSLightTheme.d.ts +2 -0
- package/Charting/Themes/SciChartJSLightTheme.js +2 -0
- package/Charting/Visuals/Axis/CategoryAxisBase.d.ts +5 -0
- package/Charting/Visuals/Axis/CategoryAxisBase.js +19 -9
- package/Charting/Visuals/RenderableSeries/Animations/animationHelpers.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/DrawingProviders/UniformContoursDrawingProvider.js +30 -8
- package/Charting/Visuals/RenderableSeries/DrawingProviders/UniformHeatmapDrawingProvider.js +7 -3
- package/Charting/Visuals/RenderableSeries/FastColumnRenderableSeries.d.ts +1 -1
- package/Charting/Visuals/RenderableSeries/FastImpulseRenderableSeries.d.ts +84 -0
- package/Charting/Visuals/RenderableSeries/FastImpulseRenderableSeries.js +179 -0
- package/Charting/Visuals/RenderableSeries/HitTest/ImpulseSeriesHitTestProvider.d.ts +20 -0
- package/Charting/Visuals/RenderableSeries/HitTest/ImpulseSeriesHitTestProvider.js +100 -0
- package/Charting/Visuals/RenderableSeries/HitTest/hitTestHelpers.d.ts +2 -0
- package/Charting/Visuals/RenderableSeries/HitTest/hitTestHelpers.js +14 -1
- package/Charting/Visuals/RenderableSeries/UniformHeatmapRenderableSeries.d.ts +13 -0
- package/Charting/Visuals/RenderableSeries/UniformHeatmapRenderableSeries.js +23 -3
- package/Charting/Visuals/RenderableSeries/constants.d.ts +1 -0
- package/Charting/Visuals/RenderableSeries/constants.js +1 -0
- package/Charting/Visuals/SciChartSurface.d.ts +6 -1
- package/Charting/Visuals/SciChartSurface.js +10 -1
- package/Core/BuildStamp.d.ts +1 -1
- package/Core/BuildStamp.js +2 -2
- 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/constants/performanceWarnings.js +2 -2
- package/package.json +1 -1
- package/types/SeriesType.d.ts +2 -0
- package/types/SeriesType.js +2 -0
- package/utils/pointUtil.d.ts +1 -1
- package/utils/pointUtil.js +3 -2
package/_wasm/scichart2d.js
CHANGED
|
@@ -13,7 +13,7 @@ n);};t.onload=function(){if(200==t.status||304==t.status||206==t.status||0==t.st
|
|
|
13
13
|
0;q<u.length;++q)n.prototype.Ai[u[q].filename].onload();h.removeRunDependency("datafile_scichart2d.data")}h.FS_createPath("/","assets",!0,!0);n.prototype={Ai:{},open:function(u,q){this.name=q;this.Ai[q]=this;h.addRunDependency("fp "+this.name)},onload:function(){this.rj(this.Fj.subarray(this.start,this.end))},rj:function(u){h.FS_createDataFile(this.name,null,u,!0,!0,!0);h.removeRunDependency("fp "+this.name);this.Ai[this.name]=null}};for(var r=a.files,t=0;t<r.length;++t)(new n(r[t].start,r[t].end,
|
|
14
14
|
r[t].audio)).open("GET",r[t].filename);h.addRunDependency("datafile_scichart2d.data");h.Zj||(h.Zj={});h.Zj["scichart2d.data"]={ml:!1};m?(p(m),m=null):g=p}"object"===typeof window?window.encodeURIComponent(window.location.pathname.toString().substring(0,window.location.pathname.toString().lastIndexOf("/"))+"/"):"undefined"===typeof process&&"undefined"!==typeof location&&encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/");"function"!==typeof h.locateFilePackage||
|
|
15
15
|
h.locateFile||(h.locateFile=h.locateFilePackage,k("warning: you defined Module.locateFilePackage, that has been renamed to Module.locateFile (using your locateFilePackage for now)"));var e=h.locateFile?h.locateFile("scichart2d.data",""):"scichart2d.data",f=a.remote_package_size,g=null,m=h.getPreloadedPackage?h.getPreloadedPackage(e,f):null;m||b(e,f,function(n){g?(g(n),g=null):m=n},c);h.calledRun?d():(h.preRun||(h.preRun=[]),h.preRun.push(d))})({files:[{filename:"/assets/TSRAssets.web.pkg",start:0,
|
|
16
|
-
end:606921,audio:0},{filename:"/assets/SCRTNAssets.web.pkg",start:606921,end:780540,audio:0}],remote_package_size:780540,package_uuid:"
|
|
16
|
+
end:606921,audio:0},{filename:"/assets/SCRTNAssets.web.pkg",start:606921,end:780540,audio:0}],remote_package_size:780540,package_uuid:"93fac429-1b47-45ff-89ef-8d56de10621c"});l&&(l=function(a){a=ca(a);var b=ea[a]||document.querySelector(a);"#canvas"===a&&(b=b||h.canvas);return b});var fa={},ha;for(ha in h)h.hasOwnProperty(ha)&&(fa[ha]=h[ha]);var ia=[],ja="./this.program";function ka(a,b){throw b;}var la="",ma,na,oa;"undefined"!==typeof document&&document.currentScript&&(la=document.currentScript.src);
|
|
17
17
|
_scriptDir&&(la=_scriptDir);0!==la.indexOf("blob:")?la=la.substr(0,la.lastIndexOf("/")+1):la="";ma=function(a){var b=new XMLHttpRequest;b.open("GET",a,!1);b.send(null);return b.responseText};na=function(a,b,c){var d=new XMLHttpRequest;d.open("GET",a,!0);d.responseType="arraybuffer";d.onload=function(){200==d.status||0==d.status&&d.response?b(d.response):c()};d.onerror=c;d.send(null)};oa=function(a){document.title=a};var pa=h.print||console.log.bind(console),k=h.printErr||console.warn.bind(console);
|
|
18
18
|
for(ha in fa)fa.hasOwnProperty(ha)&&(h[ha]=fa[ha]);fa=null;h.arguments&&(ia=h.arguments);h.thisProgram&&(ja=h.thisProgram);h.quit&&(ka=h.quit);function qa(a){ra||(ra={});ra[a]||(ra[a]=1,k(a))}var ra,sa=0,ta;h.wasmBinary&&(ta=h.wasmBinary);var noExitRuntime=h.noExitRuntime||!0;"object"!==typeof WebAssembly&&v("no native wasm support detected");
|
|
19
19
|
function ua(a,b){var c="float";"*"===c.charAt(c.length-1)&&(c="i32");switch(c){case "i1":w[a>>0]=b;break;case "i8":w[a>>0]=b;break;case "i16":y[a>>1]=b;break;case "i32":z[a>>2]=b;break;case "i64":wa=[b>>>0,(A=b,1<=+Math.abs(A)?0<A?(Math.min(+Math.floor(A/4294967296),4294967295)|0)>>>0:~~+Math.ceil((A-+(~~A>>>0))/4294967296)>>>0:0)];z[a>>2]=wa[0];z[a+4>>2]=wa[1];break;case "float":C[a>>2]=b;break;case "double":xa[a>>3]=b;break;default:v("invalid type for setValue: "+c)}}var ya,za=!1,Aa;
|
package/_wasm/scichart2d.wasm
CHANGED
|
Binary file
|
package/_wasm/scichart3d.js
CHANGED
|
@@ -13,7 +13,7 @@ n);};t.onload=function(){if(200==t.status||304==t.status||206==t.status||0==t.st
|
|
|
13
13
|
0;q<u.length;++q)n.prototype.Ai[u[q].filename].onload();h.removeRunDependency("datafile_scichart3d.data")}h.FS_createPath("/","assets",!0,!0);n.prototype={Ai:{},open:function(u,q){this.name=q;this.Ai[q]=this;h.addRunDependency("fp "+this.name)},onload:function(){this.rj(this.Fj.subarray(this.start,this.end))},rj:function(u){h.FS_createDataFile(this.name,null,u,!0,!0,!0);h.removeRunDependency("fp "+this.name);this.Ai[this.name]=null}};for(var r=a.files,t=0;t<r.length;++t)(new n(r[t].start,r[t].end,
|
|
14
14
|
r[t].audio)).open("GET",r[t].filename);h.addRunDependency("datafile_scichart3d.data");h.Zj||(h.Zj={});h.Zj["scichart3d.data"]={ml:!1};m?(p(m),m=null):g=p}"object"===typeof window?window.encodeURIComponent(window.location.pathname.toString().substring(0,window.location.pathname.toString().lastIndexOf("/"))+"/"):"undefined"===typeof process&&"undefined"!==typeof location&&encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/");"function"!==typeof h.locateFilePackage||
|
|
15
15
|
h.locateFile||(h.locateFile=h.locateFilePackage,k("warning: you defined Module.locateFilePackage, that has been renamed to Module.locateFile (using your locateFilePackage for now)"));var e=h.locateFile?h.locateFile("scichart3d.data",""):"scichart3d.data",f=a.remote_package_size,g=null,m=h.getPreloadedPackage?h.getPreloadedPackage(e,f):null;m||b(e,f,function(n){g?(g(n),g=null):m=n},c);h.calledRun?d():(h.preRun||(h.preRun=[]),h.preRun.push(d))})({files:[{filename:"/assets/TSRAssets.web.pkg",start:0,
|
|
16
|
-
end:606921,audio:0},{filename:"/assets/SCRTAssets.web.pkg",start:606921,end:1039929,audio:0}],remote_package_size:1039929,package_uuid:"
|
|
16
|
+
end:606921,audio:0},{filename:"/assets/SCRTAssets.web.pkg",start:606921,end:1039929,audio:0}],remote_package_size:1039929,package_uuid:"57589852-73cb-435a-9c60-eae7292b6b37"});l&&(l=function(a){a=ca(a);var b=ea[a]||document.querySelector(a);"#canvas"===a&&(b=b||h.canvas);return b});var fa={},ha;for(ha in h)h.hasOwnProperty(ha)&&(fa[ha]=h[ha]);var ia=[],ja="./this.program";function ka(a,b){throw b;}var la="",ma,na,oa;"undefined"!==typeof document&&document.currentScript&&(la=document.currentScript.src);
|
|
17
17
|
_scriptDir&&(la=_scriptDir);0!==la.indexOf("blob:")?la=la.substr(0,la.lastIndexOf("/")+1):la="";ma=function(a){var b=new XMLHttpRequest;b.open("GET",a,!1);b.send(null);return b.responseText};na=function(a,b,c){var d=new XMLHttpRequest;d.open("GET",a,!0);d.responseType="arraybuffer";d.onload=function(){200==d.status||0==d.status&&d.response?b(d.response):c()};d.onerror=c;d.send(null)};oa=function(a){document.title=a};var pa=h.print||console.log.bind(console),k=h.printErr||console.warn.bind(console);
|
|
18
18
|
for(ha in fa)fa.hasOwnProperty(ha)&&(h[ha]=fa[ha]);fa=null;h.arguments&&(ia=h.arguments);h.thisProgram&&(ja=h.thisProgram);h.quit&&(ka=h.quit);function qa(a){ra||(ra={});ra[a]||(ra[a]=1,k(a))}var ra,sa=0,ta;h.wasmBinary&&(ta=h.wasmBinary);var noExitRuntime=h.noExitRuntime||!0;"object"!==typeof WebAssembly&&v("no native wasm support detected");
|
|
19
19
|
function ua(a,b){var c="float";"*"===c.charAt(c.length-1)&&(c="i32");switch(c){case "i1":w[a>>0]=b;break;case "i8":w[a>>0]=b;break;case "i16":y[a>>1]=b;break;case "i32":z[a>>2]=b;break;case "i64":wa=[b>>>0,(A=b,1<=+Math.abs(A)?0<A?(Math.min(+Math.floor(A/4294967296),4294967295)|0)>>>0:~~+Math.ceil((A-+(~~A>>>0))/4294967296)>>>0:0)];z[a>>2]=wa[0];z[a+4>>2]=wa[1];break;case "float":C[a>>2]=b;break;case "double":xa[a>>3]=b;break;default:v("invalid type for setValue: "+c)}}var ya,za=!1,Aa;
|
package/_wasm/scichart3d.wasm
CHANGED
|
Binary file
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.performanceWarnings = void 0;
|
|
4
4
|
var OneTimePerformanceWarning_1 = require("../Core/OneTimePerformanceWarning");
|
|
5
5
|
exports.performanceWarnings = {
|
|
6
|
-
dataDistributionFlagNaN: new OneTimePerformanceWarning_1.OneTimePerformanceWarning("Data Distribution flag (BaseDataSeries.containsNaN = false) can be applied to improve performance. Read this website article
|
|
7
|
-
dataDistributionFlagSortedAscending: new OneTimePerformanceWarning_1.OneTimePerformanceWarning("Data Distribution flag (BaseDataSeries.isSorted = true) can be applied to improve performance. Read this website article
|
|
6
|
+
dataDistributionFlagNaN: new OneTimePerformanceWarning_1.OneTimePerformanceWarning("Data Distribution flag (BaseDataSeries.containsNaN = false) can be applied to improve performance. Read this website article https://www.scichart.com/documentation/js/current/DataResampling.html for more info. To disable this warning set SciChartDefaults.performanceWarnings = false"),
|
|
7
|
+
dataDistributionFlagSortedAscending: new OneTimePerformanceWarning_1.OneTimePerformanceWarning("Data Distribution flag (BaseDataSeries.isSorted = true) can be applied to improve performance. Read this website article https://www.scichart.com/documentation/js/current/DataResampling.html for more info. To disable this warning set SciChartDefaults.performanceWarnings = false")
|
|
8
8
|
};
|
package/package.json
CHANGED
package/types/SeriesType.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export declare enum ESeriesType {
|
|
|
12
12
|
CandlestickSeries = "CandlestickSeries",
|
|
13
13
|
/** Type of {@link FastColumnRenderableSeries} */
|
|
14
14
|
ColumnSeries = "ColumnSeries",
|
|
15
|
+
/** Type of {@link FastImpulseRenderableSeries} */
|
|
16
|
+
ImpulseSeries = "ImpulseSeries",
|
|
15
17
|
/** Type of {@link FastLineRenderableSeries} */
|
|
16
18
|
LineSeries = "LineSeries",
|
|
17
19
|
/** Type of {@link SplineLineRenderableSeries} */
|
package/types/SeriesType.js
CHANGED
|
@@ -16,6 +16,8 @@ var ESeriesType;
|
|
|
16
16
|
ESeriesType["CandlestickSeries"] = "CandlestickSeries";
|
|
17
17
|
/** Type of {@link FastColumnRenderableSeries} */
|
|
18
18
|
ESeriesType["ColumnSeries"] = "ColumnSeries";
|
|
19
|
+
/** Type of {@link FastImpulseRenderableSeries} */
|
|
20
|
+
ESeriesType["ImpulseSeries"] = "ImpulseSeries";
|
|
19
21
|
/** Type of {@link FastLineRenderableSeries} */
|
|
20
22
|
ESeriesType["LineSeries"] = "LineSeries";
|
|
21
23
|
/** Type of {@link SplineLineRenderableSeries} */
|
package/utils/pointUtil.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Rect } from "../Core/Rect";
|
|
|
3
3
|
export declare const calcDistanceFromLine: (x: number, y: number, startX: number, startY: number, endX: number, endY: number) => number;
|
|
4
4
|
export declare const calcCrossProduct: (xA: number, yA: number, xB: number, yB: number, xC: number, yC: number) => number;
|
|
5
5
|
export declare const calcDistance: (x1: number, y1: number, x2: number, y2: number) => number;
|
|
6
|
-
export declare const testIsInBounds: (x: number, y: number, left: number, top: number, right: number, bottom: number) => boolean;
|
|
6
|
+
export declare const testIsInBounds: (x: number, y: number, left: number, top: number, right: number, bottom: number, radius?: number) => boolean;
|
|
7
7
|
/**
|
|
8
8
|
* Calculates annotation borders for {@link AxisMarkerAnnotation}
|
|
9
9
|
* @param isVerticalChart the vertical chart flag
|
package/utils/pointUtil.js
CHANGED
|
@@ -16,8 +16,9 @@ var calcDistance = function (x1, y1, x2, y2) {
|
|
|
16
16
|
return Math.sqrt(diffX * diffX + diffY * diffY);
|
|
17
17
|
};
|
|
18
18
|
exports.calcDistance = calcDistance;
|
|
19
|
-
var testIsInBounds = function (x, y, left, top, right, bottom) {
|
|
20
|
-
|
|
19
|
+
var testIsInBounds = function (x, y, left, top, right, bottom, radius) {
|
|
20
|
+
if (radius === void 0) { radius = 0; }
|
|
21
|
+
return x >= left - radius && x <= right + radius && y >= bottom - radius && y <= top + radius;
|
|
21
22
|
};
|
|
22
23
|
exports.testIsInBounds = testIsInBounds;
|
|
23
24
|
/**
|