scichart 2.2.2378 → 2.2.2396
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/ModifierMouseArgs.d.ts +2 -2
- package/Charting/ChartModifiers/ModifierMouseArgs.js +4 -2
- package/Charting/Model/BaseHeatmapDataSeries.js +1 -1
- package/Charting/Services/SciChartRenderer.js +1 -1
- package/Charting/Visuals/Annotations/BoxAnnotation.d.ts +2 -0
- package/Charting/Visuals/Annotations/BoxAnnotation.js +49 -1
- 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.js +21 -0
- package/Charting/Visuals/SciChartSurface.d.ts +1 -1
- package/Charting/Visuals/SciChartSurface.js +4 -3
- package/Charting/Visuals/SciChartSurfaceBase.d.ts +1 -1
- package/Charting/Visuals/SciChartSurfaceBase.js +2 -1
- package/Charting/Visuals/createMaster.js +1 -1
- package/Charting/Visuals/licenseManager2D.js +21 -5
- package/Charting3D/Visuals/SciChart3DSurface.d.ts +8 -3
- package/Charting3D/Visuals/SciChart3DSurface.js +12 -3
- package/Charting3D/Visuals/createMaster3d.js +2 -2
- package/Charting3D/Visuals/createSingle3d.js +2 -2
- package/Core/BuildStamp.d.ts +1 -1
- package/Core/BuildStamp.js +2 -2
- package/Core/Telemetry.js +3 -0
- package/README.md +49 -13
- package/_wasm/scichart.browser.js +1 -1
- package/_wasm/scichart2d.js +95 -95
- package/_wasm/scichart2d.wasm +0 -0
- package/_wasm/scichart3d.js +10 -10
- package/_wasm/scichart3d.wasm +0 -0
- package/package.json +1 -1
- package/types/NumericFormat.d.ts +4 -0
- package/types/NumericFormat.js +4 -0
- package/utils/number.js +15 -2
package/utils/number.js
CHANGED
|
@@ -43,10 +43,23 @@ var formatNumber = function (dataValue, numericFormat, precision) {
|
|
|
43
43
|
return (0, date_1.formatUnixDateToHumanStringDDMM)(dataValue);
|
|
44
44
|
case NumericFormat_1.ENumericFormat.Date_HHMM:
|
|
45
45
|
return (0, date_1.formatUnixDateToHumanStringHHMM)(dataValue);
|
|
46
|
+
case NumericFormat_1.ENumericFormat.Date_HHMMSS:
|
|
47
|
+
return (0, date_1.formatUnixDateToHumanStringHHMMSS)(dataValue);
|
|
46
48
|
}
|
|
47
49
|
};
|
|
48
50
|
exports.formatNumber = formatNumber;
|
|
49
|
-
var superScript_map = [
|
|
51
|
+
var superScript_map = [
|
|
52
|
+
"\u2070",
|
|
53
|
+
"\u00B9",
|
|
54
|
+
"\u00B2",
|
|
55
|
+
"\u00B3",
|
|
56
|
+
"\u2074",
|
|
57
|
+
"\u2075",
|
|
58
|
+
"\u2076",
|
|
59
|
+
"\u2077",
|
|
60
|
+
"\u2078",
|
|
61
|
+
"\u2079"
|
|
62
|
+
];
|
|
50
63
|
var toSuperScript = function (value) {
|
|
51
64
|
var str = "";
|
|
52
65
|
var isNegative = value < 0;
|
|
@@ -61,7 +74,7 @@ var toSuperScript = function (value) {
|
|
|
61
74
|
str += superScript_map[digit];
|
|
62
75
|
}
|
|
63
76
|
}
|
|
64
|
-
return (isNegative ?
|
|
77
|
+
return (isNegative ? "\u207B" : "") + str;
|
|
65
78
|
};
|
|
66
79
|
exports.toSuperScript = toSuperScript;
|
|
67
80
|
var toScientific = function (value, precision, logarithmicBase) {
|