@fintatech/fintachart 3.1.3 → 3.1.4
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/CHANGELOG.md +17 -0
- package/css/FintaChart.min.css +1 -1
- package/d.ts/FintaChart.d.ts +13 -1
- package/localization/en.json +1 -0
- package/localization/uk.json +1 -0
- package/package.json +1 -1
- package/scripts/FintaChart.min.js +2 -2
package/d.ts/FintaChart.d.ts
CHANGED
|
@@ -4655,7 +4655,9 @@ declare module FintaChart {
|
|
|
4655
4655
|
*/
|
|
4656
4656
|
get renderer(): IRenderer;
|
|
4657
4657
|
/**
|
|
4658
|
-
* The size of the canvas
|
|
4658
|
+
* The size of the canvas in CSS pixels (matches the legacy jQuery `.width()`/`.height()`
|
|
4659
|
+
* behavior — distinct from the canvas element's `width`/`height` attributes which carry
|
|
4660
|
+
* the device-pixel backing-store size on HiDPI displays).
|
|
4659
4661
|
*/
|
|
4660
4662
|
get size(): ISize;
|
|
4661
4663
|
set size(value: ISize);
|
|
@@ -5620,6 +5622,7 @@ declare module FintaChart {
|
|
|
5620
5622
|
private _jumpToBtn;
|
|
5621
5623
|
private _playPauseBtn;
|
|
5622
5624
|
private _replayChartText;
|
|
5625
|
+
private _startRecordPromptEl;
|
|
5623
5626
|
private _speedInput;
|
|
5624
5627
|
private _speedItemContainer;
|
|
5625
5628
|
private _speedSelectDropdown;
|
|
@@ -5684,6 +5687,12 @@ declare module FintaChart {
|
|
|
5684
5687
|
* Jumps to
|
|
5685
5688
|
*/
|
|
5686
5689
|
jumpTo(): void;
|
|
5690
|
+
/**
|
|
5691
|
+
* Surfaces the start-record prompt and arms jumpTo so the next pane click
|
|
5692
|
+
* sets the replay start point. Called when a user clicks play/forward/toRealTime
|
|
5693
|
+
* before any start record has been chosen.
|
|
5694
|
+
*/
|
|
5695
|
+
promptForStartRecord(): void;
|
|
5687
5696
|
/**
|
|
5688
5697
|
* Plays
|
|
5689
5698
|
*/
|
|
@@ -5717,8 +5726,11 @@ declare module FintaChart {
|
|
|
5717
5726
|
* Returns last bar from original series
|
|
5718
5727
|
*/
|
|
5719
5728
|
getLastOriginBar(): IBar;
|
|
5729
|
+
private bindControlClicks;
|
|
5720
5730
|
private subscribe;
|
|
5721
5731
|
private createReplayChartText;
|
|
5732
|
+
private showStartRecordPrompt;
|
|
5733
|
+
private hideStartRecordPrompt;
|
|
5722
5734
|
private disabledButton;
|
|
5723
5735
|
private enabledButton;
|
|
5724
5736
|
private generateSpeedItems;
|
package/localization/en.json
CHANGED
|
@@ -795,6 +795,7 @@
|
|
|
795
795
|
"toRealTime": "To Real Time",
|
|
796
796
|
"pause": "Pause",
|
|
797
797
|
"chartText": "Replay",
|
|
798
|
+
"startRecordPrompt": "Click a bar to set the replay start point",
|
|
798
799
|
"notification": {
|
|
799
800
|
"text": "To load more history, exit from replay mode",
|
|
800
801
|
"compareInstrumentText": "To add compare instrument, exit from replay mode"
|
package/localization/uk.json
CHANGED
|
@@ -756,6 +756,7 @@
|
|
|
756
756
|
"toRealTime": "До реального часу",
|
|
757
757
|
"pause": "Пауза",
|
|
758
758
|
"chartText": "Повтор",
|
|
759
|
+
"startRecordPrompt": "Клікніть по бару, щоб обрати точку старту відтворення",
|
|
759
760
|
"notification": {
|
|
760
761
|
"text": "Щоб завантажити більше історії, вийдіть з режиму відтворення",
|
|
761
762
|
"compareInstrumentText": "Щоб додати інструмент порівняння, вийдіть з режиму відтворення"
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@fintatech/fintachart",
|
|
3
3
|
"description": "FintaChart financial charting component",
|
|
4
4
|
"homepage": "https://fintatech.com",
|
|
5
|
-
"version": "3.1.
|
|
5
|
+
"version": "3.1.4",
|
|
6
6
|
"types": "./d.ts/FintaChart.d.ts",
|
|
7
7
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
8
8
|
"repository": {
|