@fintatech/fintachart 3.1.12 → 3.1.14
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 +47 -0
- package/css/FintaChart.min.css +1 -1
- package/d.ts/FintaChart.d.ts +593 -2
- package/htmldialogs/IndicatorSettingsDialog.html +13 -0
- package/htmldialogs/ShapeSettingsDialog.html +133 -1
- package/htmldialogs/Toolbar.html +11 -2
- package/img/svg-icons/bar-marker.svg +1 -0
- package/localization/en.json +37 -0
- package/localization/uk.json +37 -0
- package/package.json +1 -1
- package/scripts/FintaChart.min.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,51 @@ 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.14] - 2026-08-27
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Bar Marker** customization (`BarMarkerShape`): six additional glyphs on top of dot / arrow-up / arrow-down — `square`, `diamond`, `star`, `cross`, `line`, and `arrowAuto` (points down above a bar, up below it) — selected through the new `BarMarkerKind` enum.
|
|
13
|
+
- Bar marker colouring: `markerColor` (new `BarMarkerColor` enum — `auto` follows the candle direction, seven presets, or `custom` paired with `customMarkerColor`) plus an optional `gradientFrom` / `gradientTo` gradient fill.
|
|
14
|
+
- Bar marker badge styling: `badgeBorderRadius`, `badgeBorderColor`, `badgeBorderWidth`, `backgroundColor`, and `textColor`.
|
|
15
|
+
- `connectLines` and `neighborSearchRange` on `BarMarkerShape` — `line` markers within the search range are joined by a connecting line, so a series of markers reads as a single path.
|
|
16
|
+
- `anchorSource` (new `BarMarkerAnchor` enum — `high`, `low`, `open`, `close`, `point`) and `offsetY` on `BarMarkerShape`, controlling which value the marker attaches to and its distance from the bar. `position` also gains `auto`, placing the marker above or below by candle direction.
|
|
17
|
+
- Text macros in the bar marker label — `{price}`, `{open}`, `{high}`, `{low}`, `{close}`, `{volume}`, `{time}` (`HH:mm`) and `{date}` (`YYYY-MM-DD`) are resolved against the bar the marker sits on (`BarMarkerShape.resolvedText`).
|
|
18
|
+
- A **Bar Marker** section in the Shape Settings dialog exposing all of the above — marker type, colour (with a custom colour picker), gradient, badge radius / border / background / text colour and the connect-lines switch — with en and uk localization (`ShapeSettingsDialog`).
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- `BarMarkerPosition` and `BarMarkerKind` are now TypeScript enums instead of plain string-constant objects, and `position` / `marker` are typed with them. The string values are unchanged; TypeScript consumers assigning raw string literals should switch to the enum members.
|
|
23
|
+
- Bar markers adapt to the chart type: line and area charts default to the `line` glyph with connecting lines enabled, and Point & Figure charts anchor markers to the P&F columns instead of the raw OHLC rows (`BarMarkerShape`).
|
|
24
|
+
|
|
25
|
+
## [3.1.13] - 2026-08-26
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
|
|
29
|
+
- `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`).
|
|
30
|
+
- `ChartEvent.CLICKED` / `PaneEvent.CLICKED`, carrying an `IChartClickInfo` payload — pane, date, bar index, price, coordinates and the native event (`Chart`, `Pane`).
|
|
31
|
+
- **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`).
|
|
32
|
+
- `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`).
|
|
33
|
+
- 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`).
|
|
34
|
+
- **Properties** tab in the Indicator Settings dialog listing an indicator's boolean script properties; hidden when it has none (`IndicatorSettingsDialog`).
|
|
35
|
+
- `Indicator.setTitleItems()` for script-supplied legend entries, `Plot.excludeFromAutoScale`, and `Chart.setMobileInputMode()` to switch between touch and mouse input at runtime.
|
|
36
|
+
|
|
37
|
+
### Changed
|
|
38
|
+
|
|
39
|
+
- 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`).
|
|
40
|
+
- Indicator legend now renders the BBCode markup emitted by the script engine's `SetTitle` (`Indicator`).
|
|
41
|
+
- 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].
|
|
42
|
+
- 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`).
|
|
43
|
+
- **Price Options** tab restored in the Main Settings dialog (`MainSettings`).
|
|
44
|
+
|
|
45
|
+
### Fixed
|
|
46
|
+
|
|
47
|
+
- Duplicate indicator shapes when a shape arrived with an id already on the chart (`Indicator`).
|
|
48
|
+
- Crash on state restore for calculated series (`Plot`, `ChartTypeBase`).
|
|
49
|
+
- Wrong scale ratio after restore — `VerticalAxis.restoreState()` read `minAllowedValueRatio` from `minAllowedValue`.
|
|
50
|
+
- Context-menu submenus overflowing narrow (mobile) viewports (`ContextMenu`).
|
|
51
|
+
- Axis labels left squashed after a HiDPI → 1x transition (`HtmlHelper`).
|
|
52
|
+
|
|
8
53
|
## [3.1.12] - 2026-08-11
|
|
9
54
|
|
|
10
55
|
### Added
|
|
@@ -212,6 +257,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
212
257
|
|
|
213
258
|
- Initial public release of `@fintatech/fintachart`
|
|
214
259
|
|
|
260
|
+
[3.1.14]: https://github.com/fintatech/fintachart/releases/tag/v3.1.14
|
|
261
|
+
[3.1.13]: https://github.com/fintatech/fintachart/releases/tag/v3.1.13
|
|
215
262
|
[3.1.12]: https://github.com/fintatech/fintachart/releases/tag/v3.1.12
|
|
216
263
|
[3.1.11]: https://github.com/fintatech/fintachart/releases/tag/v3.1.11
|
|
217
264
|
[3.1.10]: https://github.com/fintatech/fintachart/releases/tag/v3.1.10
|