@fintatech/fintachart 3.1.5 → 3.1.7
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 +31 -6
- package/css/FintaChart.min.css +1 -1
- package/d.ts/FintaChart.d.ts +12 -0
- package/htmldialogs/IndicatorContextMenu.html +1 -0
- package/img/svg-icons/Logo-b-2-dark.svg +1 -0
- package/img/svg-icons/Logo-b-2.svg +1 -0
- 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/CHANGELOG.md
CHANGED
|
@@ -5,13 +5,31 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [3.1.
|
|
8
|
+
## [3.1.7] - 2026-05-14
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Right-click context-menu item **"Move to price pane"** for indicators (`moveToPrice`). One-click promotion of a custom-pane indicator onto the primary pane as an overlay — creates a dedicated `VerticalScale` with `leftAxisVisible = true` so the indicator's axis labels are drawn, migrates plots, rebuilds the title bar, and removes the source pane when it becomes empty. Reverse direction reuses the existing **"Separate pane bottom"** (`unmergeDown`), which already detaches a primary-pane overlay back into its own pane and disposes the custom scale. Closes the long-standing gap that forced consumers to ship their own "own pane ↔ price overlay" UI toggle (`Indicator`, `IndicatorContextMenu`, `IndicatorContextMenu.html`, en/uk localizations).
|
|
13
|
+
- `docs/api/data-adapters.md`: new "Search modal: install hooks before chart construction" section documenting the `InstrumentSearch` constructor-timing race — installing `Instrument.filter`/`filterById` after `new FintaChart.Chart(...)` may produce a no-op modal.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- `docs/api/instrument.md`: `Instrument.filter` first parameter renamed `symbol` → `query`; description now states the toolbar modal matches against both `instrument.symbol` and `instrument.company`.
|
|
18
|
+
- `examples/html/15-instrument-search/`: restructured so `Instrument.filter` and `Instrument.filterById` are installed before chart construction (matching the documented safe pattern). `chart.exchanges` stays after the constructor (per-instance).
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- Toolbar search modal now matches the query against both `instrument.symbol` and `instrument.company`. Previously only `symbol` was checked, so backends returning instruments by company name (e.g. typing "Apple" → `AAPL`, `0R2V`, `603020`) silently rendered zero results (`InstrumentSearch`).
|
|
23
|
+
- Text overlap in the instrument search modal; the search window has been widened to prevent clipping.
|
|
24
|
+
- `TypeError: Cannot read properties of null (reading 'appendChild')` when adding an indicator to a freshly-created pane via `Chart.addIndicatorInNewPane(...)` or `Pane.addIndicator(...)`. `Indicator.placeOnPane` now drives `chart.InitializeVisualDimensions()` and `pane.refreshScaleAsync()` on the new pane, mirroring the standard `Indicator.addPane()` bring-up, so the pane's title container is materialized before `initPaneTitle()` runs.
|
|
25
|
+
|
|
26
|
+
## [3.1.6] - 2026-05-13
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
- Minor bug fixes and improvements.
|
|
31
|
+
|
|
32
|
+
## [3.1.5] - 2026-05-12
|
|
15
33
|
|
|
16
34
|
### Added
|
|
17
35
|
|
|
@@ -22,6 +40,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
22
40
|
|
|
23
41
|
- `Indicator.dispose()` now removes a custom `verticalScale` and triggers a chart relayout when `_isCustomScale` is set, not just for built-in Volume.
|
|
24
42
|
- `Indicator.unmerge()` now strips a custom `verticalScale` when moving an overlay indicator into its own pane via the context menu, and reassigns plots to the default scale.
|
|
43
|
+
- Resolved `TypeError: Cannot read properties of null (reading 'appendChild')` when opening settings dialog for custom indicators by ensuring dialog panes are initialized before appending controls.
|
|
44
|
+
- Improved `ColorPicker` initialization to wait for DOM attachment using `MutationObserver`, preventing crashes in delayed rendering scenarios.
|
|
45
|
+
- Scoped bundled CSS selectors for `[type="checkbox"]` to prevent aggressive styling of elements outside the chart container.
|
|
46
|
+
- Fullscreen mode support via the toolbar.
|
|
47
|
+
- `Indicator.isOverlay` property is now immutable after construction to ensure pane/scale stability.
|
|
25
48
|
|
|
26
49
|
### Fixed
|
|
27
50
|
|
|
@@ -94,6 +117,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
94
117
|
|
|
95
118
|
- Initial public release of `@fintatech/fintachart`
|
|
96
119
|
|
|
120
|
+
[3.1.7]: https://github.com/fintatech/fintachart/releases/tag/v3.1.7
|
|
121
|
+
[3.1.6]: https://github.com/fintatech/fintachart/releases/tag/v3.1.6
|
|
97
122
|
[3.1.5]: https://github.com/fintatech/fintachart/releases/tag/v3.1.5
|
|
98
123
|
[3.1.4]: https://github.com/fintatech/fintachart/releases/tag/v3.1.4
|
|
99
124
|
[3.1.3]: https://github.com/fintatech/fintachart/releases/tag/v3.1.3
|