@fintatech/fintachart 3.1.12 → 3.1.13
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 +29 -0
- package/css/FintaChart.min.css +1 -1
- package/d.ts/FintaChart.d.ts +525 -2
- package/htmldialogs/IndicatorSettingsDialog.html +13 -0
- package/htmldialogs/ShapeSettingsDialog.html +1 -1
- package/htmldialogs/Toolbar.html +11 -2
- package/img/svg-icons/bar-marker.svg +1 -0
- package/localization/en.json +5 -0
- package/localization/uk.json +5 -0
- package/package.json +1 -1
- package/scripts/FintaChart.min.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,34 @@ 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.13] - 2026-08-26
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- `toolbarHiddenItems` chart option — hides individual toolbar buttons and groups, addressed through the new `ToolbarItem` enum (array or `{ item: true }` map) and changeable at runtime via `Chart.setToolbarHiddenItems()` (`ToolbarItem`, `Toolbar`, `Chart`).
|
|
13
|
+
- `ChartEvent.CLICKED` / `PaneEvent.CLICKED`, carrying an `IChartClickInfo` payload — pane, date, bar index, price, coordinates and the native event (`Chart`, `Pane`).
|
|
14
|
+
- **Bar Marker** drawing shape: a dot or arrow with a text label pinned above or below a bar, with its own toolbar button and en/uk localization (`BarMarkerShape`).
|
|
15
|
+
- `showIndicatorLegend` and `showCrossHairBarOffset` chart options — pin the indicator legend on/off regardless of chart width, and append the offset from the last bar to the crosshair's date label (`Chart`, `CrossHair`).
|
|
16
|
+
- Line-plot projection: `projectionBarsCount` and `projectionType` (`trend`, `flat`, `damped`, `regression`, `sma`, `polynomial`) draw a dashed continuation of the line past the last bar (`LinePlot`, `Plot`).
|
|
17
|
+
- **Properties** tab in the Indicator Settings dialog listing an indicator's boolean script properties; hidden when it has none (`IndicatorSettingsDialog`).
|
|
18
|
+
- `Indicator.setTitleItems()` for script-supplied legend entries, `Plot.excludeFromAutoScale`, and `Chart.setMobileInputMode()` to switch between touch and mouse input at runtime.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- Mobile performance pass: repaints capped to ~30 fps during gestures, throttled and batched `touchmove`, sub-pixel bar conflation, bounding-box pre-checks before geometry hit tests, and lighter event snapshots (`Chart`, `Pane`, `Shape`, `BarPlot`, `RefreshOptimizer`).
|
|
23
|
+
- Indicator legend now renders the BBCode markup emitted by the script engine's `SetTitle` (`Indicator`).
|
|
24
|
+
- Session filtering compares bars in exchange-local time instead of browser time; the unused "Hide Trading Hours" entry was removed from the Sessions menu (`BarCalculator`, `ChartTypeBase`, `Pane`) — [#640].
|
|
25
|
+
- Custom script overlays on the price pane no longer take part in its auto-scale — a script plotting zeros used to drag the scale minimum to zero and lock the vertical axis (`Indicator`, `Plot`, `VerticalAxis`).
|
|
26
|
+
- **Price Options** tab restored in the Main Settings dialog (`MainSettings`).
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
- Duplicate indicator shapes when a shape arrived with an id already on the chart (`Indicator`).
|
|
31
|
+
- Crash on state restore for calculated series (`Plot`, `ChartTypeBase`).
|
|
32
|
+
- Wrong scale ratio after restore — `VerticalAxis.restoreState()` read `minAllowedValueRatio` from `minAllowedValue`.
|
|
33
|
+
- Context-menu submenus overflowing narrow (mobile) viewports (`ContextMenu`).
|
|
34
|
+
- Axis labels left squashed after a HiDPI → 1x transition (`HtmlHelper`).
|
|
35
|
+
|
|
8
36
|
## [3.1.12] - 2026-08-11
|
|
9
37
|
|
|
10
38
|
### Added
|
|
@@ -212,6 +240,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
212
240
|
|
|
213
241
|
- Initial public release of `@fintatech/fintachart`
|
|
214
242
|
|
|
243
|
+
[3.1.13]: https://github.com/fintatech/fintachart/releases/tag/v3.1.13
|
|
215
244
|
[3.1.12]: https://github.com/fintatech/fintachart/releases/tag/v3.1.12
|
|
216
245
|
[3.1.11]: https://github.com/fintatech/fintachart/releases/tag/v3.1.11
|
|
217
246
|
[3.1.10]: https://github.com/fintatech/fintachart/releases/tag/v3.1.10
|