scichart 2.2.2397 → 2.2.2407

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 (33) hide show
  1. package/Charting/ChartModifiers/SeriesSelectionModifier.d.ts +1 -0
  2. package/Charting/ChartModifiers/SeriesSelectionModifier.js +4 -0
  3. package/Charting/Model/BaseDataSeries.js +3 -0
  4. package/Charting/Visuals/Axis/AxisBase2D.js +1 -1
  5. package/Charting/Visuals/Axis/DateTimeNumericAxis.js +1 -1
  6. package/Charting/Visuals/Axis/DeltaCalculator/DateTimeDeltaCalculator.d.ts +5 -3
  7. package/Charting/Visuals/Axis/DeltaCalculator/DateTimeDeltaCalculator.js +11 -6
  8. package/Charting/Visuals/RenderableSeries/HitTest/BandSeriesHitTestProvider.js +9 -0
  9. package/Charting/Visuals/RenderableSeries/HitTest/BaseHitTestProvider.js +6 -0
  10. package/Charting/Visuals/RenderableSeries/HitTest/BubbleSeriesHitTestProvider.js +6 -0
  11. package/Charting/Visuals/RenderableSeries/HitTest/ColumnSeriesHitTestProvider.js +6 -0
  12. package/Charting/Visuals/RenderableSeries/HitTest/ErrorSeriesHitTestProvider.js +6 -0
  13. package/Charting/Visuals/RenderableSeries/HitTest/ImpulseSeriesHitTestProvider.js +6 -0
  14. package/Charting/Visuals/RenderableSeries/HitTest/LineSeriesHitTestProvider.js +6 -0
  15. package/Charting/Visuals/RenderableSeries/HitTest/MountainSeriesHitTestProvider.js +3 -0
  16. package/Charting/Visuals/RenderableSeries/HitTest/OhlcSeriesHitTestProvider.js +6 -0
  17. package/Charting/Visuals/RenderableSeries/HitTest/ScatterSeriesHitTestProvider.js +6 -0
  18. package/Charting/Visuals/RenderableSeries/HitTest/StackedColumnSeriesHitTestProvider.js +6 -0
  19. package/Charting/Visuals/RenderableSeries/HitTest/StackedMountainSeriesHitTestProvider.js +6 -0
  20. package/Charting/Visuals/RenderableSeries/HitTest/UniformHeatmapHitTestProvider.js +3 -0
  21. package/Charting/Visuals/licenseManager2D.d.ts +1 -1
  22. package/Charting/Visuals/licenseManager2D.js +44 -41
  23. package/Charting3D/Visuals/licenseManager3D.js +1 -1
  24. package/Core/BuildStamp.d.ts +1 -1
  25. package/Core/BuildStamp.js +2 -2
  26. package/README.md +3 -2
  27. package/_wasm/scichart.browser.js +1 -1
  28. package/_wasm/scichart2d.js +1 -1
  29. package/_wasm/scichart2d.wasm +0 -0
  30. package/_wasm/scichart3d.js +1 -1
  31. package/_wasm/scichart3d.wasm +0 -0
  32. package/package.json +1 -1
  33. package/utils/number.js +2 -0
@@ -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:"48354b75-8a59-400f-b8e4-64c56f30bbee"});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);
16
+ end:606921,audio:0},{filename:"/assets/SCRTNAssets.web.pkg",start:606921,end:780540,audio:0}],remote_package_size:780540,package_uuid:"c251412a-d25d-4c9b-8d98-693099f5d0b6"});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;
Binary file
@@ -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:"ed691466-bad7-46b2-b731-788c133c038f"});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);
16
+ end:606921,audio:0},{filename:"/assets/SCRTAssets.web.pkg",start:606921,end:1039929,audio:0}],remote_package_size:1039929,package_uuid:"f33a00d2-8546-48b6-b395-ad64bf3133c0"});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;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scichart",
3
- "version": "2.2.2397",
3
+ "version": "2.2.2407",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "description": "SciChartJS Charting Library",
package/utils/number.js CHANGED
@@ -78,6 +78,8 @@ var toSuperScript = function (value) {
78
78
  };
79
79
  exports.toSuperScript = toSuperScript;
80
80
  var toScientific = function (value, precision, logarithmicBase) {
81
+ if (value === 0)
82
+ return "0";
81
83
  var exponent = (0, math_1.logToBase)(Math.abs(value), logarithmicBase);
82
84
  exponent = Math.floor(exponent);
83
85
  var sig = value / Math.pow(logarithmicBase, exponent);