@fintatech/fintachart 3.1.13 → 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 +18 -0
- package/d.ts/FintaChart.d.ts +141 -73
- package/htmldialogs/ShapeSettingsDialog.html +132 -0
- package/localization/en.json +33 -1
- package/localization/uk.json +33 -1
- package/package.json +1 -1
- package/scripts/FintaChart.min.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,23 @@ 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
|
+
|
|
8
25
|
## [3.1.13] - 2026-08-26
|
|
9
26
|
|
|
10
27
|
### Added
|
|
@@ -240,6 +257,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
240
257
|
|
|
241
258
|
- Initial public release of `@fintatech/fintachart`
|
|
242
259
|
|
|
260
|
+
[3.1.14]: https://github.com/fintatech/fintachart/releases/tag/v3.1.14
|
|
243
261
|
[3.1.13]: https://github.com/fintatech/fintachart/releases/tag/v3.1.13
|
|
244
262
|
[3.1.12]: https://github.com/fintatech/fintachart/releases/tag/v3.1.12
|
|
245
263
|
[3.1.11]: https://github.com/fintatech/fintachart/releases/tag/v3.1.11
|
package/d.ts/FintaChart.d.ts
CHANGED
|
@@ -21230,118 +21230,186 @@ declare module FintaChart {
|
|
|
21230
21230
|
}
|
|
21231
21231
|
}
|
|
21232
21232
|
declare module FintaChart {
|
|
21233
|
-
|
|
21234
|
-
|
|
21235
|
-
|
|
21236
|
-
|
|
21237
|
-
/**
|
|
21238
|
-
* Marker position relative to the bar: 'above' or 'below'
|
|
21239
|
-
*/
|
|
21240
|
-
position?: string;
|
|
21241
|
-
/**
|
|
21242
|
-
* Marker shape: 'dot', 'arrowUp' or 'arrowDown'
|
|
21243
|
-
*/
|
|
21244
|
-
marker?: string;
|
|
21233
|
+
export enum BarMarkerPosition {
|
|
21234
|
+
AUTO = "auto",
|
|
21235
|
+
ABOVE = "above",
|
|
21236
|
+
BELOW = "below"
|
|
21245
21237
|
}
|
|
21246
|
-
|
|
21247
|
-
|
|
21248
|
-
|
|
21249
|
-
|
|
21250
|
-
|
|
21251
|
-
|
|
21252
|
-
|
|
21253
|
-
|
|
21254
|
-
|
|
21255
|
-
|
|
21256
|
-
*/
|
|
21257
|
-
marker?: string;
|
|
21238
|
+
export enum BarMarkerKind {
|
|
21239
|
+
DOT = "dot",
|
|
21240
|
+
ARROW_UP = "arrowUp",
|
|
21241
|
+
ARROW_DOWN = "arrowDown",
|
|
21242
|
+
ARROW_AUTO = "arrowAuto",
|
|
21243
|
+
SQUARE = "square",
|
|
21244
|
+
DIAMOND = "diamond",
|
|
21245
|
+
STAR = "star",
|
|
21246
|
+
CROSS = "cross",
|
|
21247
|
+
LINE = "line"
|
|
21258
21248
|
}
|
|
21259
|
-
|
|
21260
|
-
|
|
21261
|
-
|
|
21262
|
-
|
|
21263
|
-
|
|
21264
|
-
|
|
21265
|
-
|
|
21249
|
+
export interface BarMarkerNeighbor {
|
|
21250
|
+
x: number;
|
|
21251
|
+
yMarker: number;
|
|
21252
|
+
color: string;
|
|
21253
|
+
lineWidth: number;
|
|
21254
|
+
}
|
|
21255
|
+
export enum BarMarkerAnchor {
|
|
21256
|
+
HIGH = "high",
|
|
21257
|
+
LOW = "low",
|
|
21258
|
+
OPEN = "open",
|
|
21259
|
+
CLOSE = "close",
|
|
21260
|
+
POINT = "point"
|
|
21261
|
+
}
|
|
21262
|
+
export enum BarMarkerColor {
|
|
21263
|
+
AUTO = "auto",
|
|
21264
|
+
RED = "#ec5a58",
|
|
21265
|
+
GREEN = "#26a69a",
|
|
21266
|
+
ORANGE = "#f7931a",
|
|
21267
|
+
BLUE = "#2196f3",
|
|
21268
|
+
YELLOW = "#fdd835",
|
|
21269
|
+
PURPLE = "#ab47bc",
|
|
21270
|
+
WHITE = "#ffffff",
|
|
21271
|
+
CUSTOM = "custom"
|
|
21272
|
+
}
|
|
21273
|
+
interface IBarMarkerFields {
|
|
21274
|
+
position?: BarMarkerPosition;
|
|
21275
|
+
marker?: BarMarkerKind;
|
|
21276
|
+
markerColor?: BarMarkerColor;
|
|
21277
|
+
customMarkerColor?: string;
|
|
21278
|
+
gradientFrom?: string;
|
|
21279
|
+
gradientTo?: string;
|
|
21280
|
+
anchorSource?: BarMarkerAnchor;
|
|
21281
|
+
offsetY?: number;
|
|
21282
|
+
badgeBorderRadius?: number;
|
|
21283
|
+
badgeBorderColor?: string;
|
|
21284
|
+
badgeBorderWidth?: number;
|
|
21285
|
+
backgroundColor?: string;
|
|
21286
|
+
textColor?: string;
|
|
21287
|
+
connectLines?: boolean;
|
|
21288
|
+
neighborSearchRange?: number;
|
|
21289
|
+
}
|
|
21290
|
+
export interface IBarMarkerShapeConfig extends ITextShapeConfig, IBarMarkerFields {
|
|
21291
|
+
}
|
|
21292
|
+
export interface IBarMarkerShapeOptions extends ITextShapeOptions, IBarMarkerFields {
|
|
21293
|
+
}
|
|
21294
|
+
export interface IBarMarkerShapeDefaults extends IShapeDefaults, Required<IBarMarkerFields> {
|
|
21266
21295
|
text: string;
|
|
21267
|
-
/**
|
|
21268
|
-
* Default marker position
|
|
21269
|
-
*/
|
|
21270
|
-
position: string;
|
|
21271
|
-
/**
|
|
21272
|
-
* Default marker shape
|
|
21273
|
-
*/
|
|
21274
|
-
marker: string;
|
|
21275
21296
|
}
|
|
21276
|
-
const BarMarkerPosition: {
|
|
21277
|
-
ABOVE: string;
|
|
21278
|
-
BELOW: string;
|
|
21279
|
-
};
|
|
21280
|
-
const BarMarkerKind: {
|
|
21281
|
-
DOT: string;
|
|
21282
|
-
ARROW_UP: string;
|
|
21283
|
-
ARROW_DOWN: string;
|
|
21284
|
-
};
|
|
21285
21297
|
/**
|
|
21286
21298
|
* Represents a dot (or arrow) with text attached to a bar from above or below.
|
|
21287
21299
|
* Uses the Shape Text behavior: click to place on a bar, then edit the text in the settings dialog.
|
|
21288
21300
|
*
|
|
21289
21301
|
* @category Shapes
|
|
21290
21302
|
*/
|
|
21291
|
-
class BarMarkerShape extends TextShape {
|
|
21303
|
+
export class BarMarkerShape extends TextShape {
|
|
21292
21304
|
static get type(): string;
|
|
21293
21305
|
static get subType(): string;
|
|
21294
21306
|
static defaults: IBarMarkerShapeDefaults;
|
|
21295
|
-
/**
|
|
21296
|
-
* Creates an instance of BarMarkerShape.
|
|
21297
|
-
*
|
|
21298
|
-
* @param config
|
|
21299
|
-
*/
|
|
21300
21307
|
constructor(config?: IBarMarkerShapeConfig);
|
|
21301
21308
|
protected get defaults(): IBarMarkerShapeDefaults;
|
|
21302
|
-
|
|
21303
|
-
|
|
21304
|
-
|
|
21305
|
-
|
|
21306
|
-
|
|
21307
|
-
|
|
21308
|
-
*
|
|
21309
|
-
*/
|
|
21310
|
-
|
|
21311
|
-
|
|
21309
|
+
private get chartTypeName();
|
|
21310
|
+
private get isLineOrAreaChart();
|
|
21311
|
+
private get isPointAndFigureChart();
|
|
21312
|
+
/**
|
|
21313
|
+
* Returns the bar data rows appropriate for the current chart type.
|
|
21314
|
+
* For P&F charts, returns the calculated P&F data rows so markers
|
|
21315
|
+
* align with the P&F grid instead of the raw OHLC data.
|
|
21316
|
+
*/
|
|
21317
|
+
private getBarDataRows;
|
|
21318
|
+
private get opts();
|
|
21319
|
+
/** Reads an option falling back to defaults; `nullish` = use `??` instead of `||`. */
|
|
21320
|
+
private opt;
|
|
21321
|
+
/** Writes an option and triggers a repaint. */
|
|
21322
|
+
private setOpt;
|
|
21323
|
+
private _positionExplicitlySet;
|
|
21324
|
+
get position(): BarMarkerPosition;
|
|
21325
|
+
set position(value: BarMarkerPosition);
|
|
21326
|
+
get marker(): BarMarkerKind;
|
|
21327
|
+
set marker(value: BarMarkerKind);
|
|
21328
|
+
private _anchorExplicitlySet;
|
|
21329
|
+
get anchorSource(): BarMarkerAnchor;
|
|
21330
|
+
set anchorSource(value: BarMarkerAnchor);
|
|
21331
|
+
get offsetY(): number;
|
|
21332
|
+
set offsetY(value: number);
|
|
21333
|
+
get badgeBorderRadius(): number;
|
|
21334
|
+
set badgeBorderRadius(value: number);
|
|
21335
|
+
get badgeBorderColor(): string;
|
|
21336
|
+
set badgeBorderColor(value: string);
|
|
21337
|
+
get badgeBorderWidth(): number;
|
|
21338
|
+
set badgeBorderWidth(value: number);
|
|
21339
|
+
get backgroundColor(): string;
|
|
21340
|
+
set backgroundColor(value: string);
|
|
21341
|
+
get textColor(): string;
|
|
21342
|
+
set textColor(value: string);
|
|
21343
|
+
get connectLines(): boolean;
|
|
21344
|
+
set connectLines(value: boolean);
|
|
21345
|
+
get neighborSearchRange(): number;
|
|
21346
|
+
set neighborSearchRange(value: number);
|
|
21347
|
+
private _colorExplicitlySet;
|
|
21348
|
+
get markerColor(): BarMarkerColor;
|
|
21349
|
+
set markerColor(value: BarMarkerColor);
|
|
21350
|
+
get customMarkerColor(): string;
|
|
21351
|
+
set customMarkerColor(value: string);
|
|
21352
|
+
get gradientFrom(): string;
|
|
21353
|
+
set gradientFrom(value: string);
|
|
21354
|
+
get gradientTo(): string;
|
|
21355
|
+
set gradientTo(value: string);
|
|
21312
21356
|
get resizable(): boolean;
|
|
21313
21357
|
set resizable(_value: boolean);
|
|
21314
21358
|
get magnetMode(): string;
|
|
21315
21359
|
set magnetMode(_value: string);
|
|
21316
21360
|
get magnetPoint(): string;
|
|
21317
21361
|
set magnetPoint(_value: string);
|
|
21318
|
-
/**
|
|
21319
|
-
* The label text ('E' by default when empty)
|
|
21320
|
-
*/
|
|
21321
21362
|
get text(): string;
|
|
21322
21363
|
set text(value: string);
|
|
21364
|
+
/**
|
|
21365
|
+
* Returns the text with dynamic macros resolved: {price} {open} {high} {low}
|
|
21366
|
+
* {close} {volume} {time} (HH:mm) {date} (YYYY-MM-DD).
|
|
21367
|
+
*/
|
|
21368
|
+
get resolvedText(): string;
|
|
21323
21369
|
finishNewShape(): void;
|
|
21324
21370
|
bounds(): IBounds;
|
|
21325
21371
|
paint(): void;
|
|
21326
21372
|
hitTest(point: IPoint): boolean;
|
|
21373
|
+
/** Draws the badge background/border and the label text. */
|
|
21374
|
+
private paintBadge;
|
|
21375
|
+
/** Paints connecting lines to neighboring LINE BarMarkerShapes. */
|
|
21376
|
+
private paintConnections;
|
|
21377
|
+
private resolvedMarkerKind;
|
|
21378
|
+
private getMarkerLayoutForConnection;
|
|
21379
|
+
/** Resolves ARROW_AUTO to the actual arrow kind based on bar position. */
|
|
21380
|
+
private resolveMarkerKind;
|
|
21381
|
+
/**
|
|
21382
|
+
* Resolves the final marker color: explicit user choice (preset/custom) wins,
|
|
21383
|
+
* otherwise falls back to auto-detection from the candle direction.
|
|
21384
|
+
*/
|
|
21385
|
+
private resolveMarkerColor;
|
|
21386
|
+
/**
|
|
21387
|
+
* Resolves anchor value when only a subset of OHLC data is available
|
|
21388
|
+
* (e.g. Line/Area charts or P&F columns that lack full OHLC).
|
|
21389
|
+
*/
|
|
21390
|
+
private resolveAnchorValue;
|
|
21391
|
+
private resolveGradient;
|
|
21327
21392
|
/**
|
|
21328
|
-
*
|
|
21329
|
-
*
|
|
21330
|
-
* bearish (close < open) — red marker below low.
|
|
21393
|
+
* Resolves position, color and anchor value for a bar.
|
|
21394
|
+
* User-set position/anchorSource win over auto-detection from candle direction.
|
|
21331
21395
|
*/
|
|
21332
21396
|
private getBarDetails;
|
|
21397
|
+
/**
|
|
21398
|
+
* Line / Area charts expose a single closing price per record.
|
|
21399
|
+
* The marker is always placed at the close value, above the line.
|
|
21400
|
+
*/
|
|
21401
|
+
private getLineOrAreaBarDetails;
|
|
21333
21402
|
/**
|
|
21334
21403
|
* Snaps the shape point to the nearest bar on creation:
|
|
21335
21404
|
* X is aligned to the bar center, Y is placed above high (or below low)
|
|
21336
21405
|
* depending on the bar direction.
|
|
21337
21406
|
*/
|
|
21338
21407
|
private snapToBar;
|
|
21339
|
-
/**
|
|
21340
|
-
* Computes pixel layout of the marker relative to its bar for the current frame
|
|
21341
|
-
*/
|
|
21408
|
+
/** Computes pixel layout of the marker relative to its bar for the current frame. */
|
|
21342
21409
|
private markerLayout;
|
|
21343
21410
|
protected magnetizePoint(point: IPoint): IPoint;
|
|
21344
21411
|
}
|
|
21412
|
+
export {};
|
|
21345
21413
|
}
|
|
21346
21414
|
declare module FintaChart {
|
|
21347
21415
|
/**
|
|
@@ -262,6 +262,138 @@
|
|
|
262
262
|
</div>
|
|
263
263
|
</div>
|
|
264
264
|
</div>
|
|
265
|
+
<!-- BarMarkerShape: marker type, position & colour -->
|
|
266
|
+
<div id="tcdShapeDialog_pane_barMarker">
|
|
267
|
+
<div class="tcdDialog-body-content">
|
|
268
|
+
<!-- Marker Type -->
|
|
269
|
+
<div class="tcdDialog-content-items">
|
|
270
|
+
<div class="tcdDialog-left-part">
|
|
271
|
+
<label class="tcdLabel" for="tcdShapeDialog_input_barMarkerKind" data-i18n="shape.barMarker.markerType"></label>
|
|
272
|
+
</div>
|
|
273
|
+
<div class="tcdDialog-right-part">
|
|
274
|
+
<div class="tcdDialog-content-item">
|
|
275
|
+
<select id="tcdShapeDialog_input_barMarkerKind" class="tcdDropdown">
|
|
276
|
+
<option value="dot" data-i18n="shape.barMarker.kindDot"></option>
|
|
277
|
+
<option value="arrowAuto" data-i18n="shape.barMarker.kindArrowAuto"></option>
|
|
278
|
+
<option value="arrowUp" data-i18n="shape.barMarker.kindArrowUp"></option>
|
|
279
|
+
<option value="arrowDown" data-i18n="shape.barMarker.kindArrowDown"></option>
|
|
280
|
+
<option value="square" data-i18n="shape.barMarker.kindSquare"></option>
|
|
281
|
+
<option value="diamond" data-i18n="shape.barMarker.kindDiamond"></option>
|
|
282
|
+
<option value="star" data-i18n="shape.barMarker.kindStar"></option>
|
|
283
|
+
<option value="cross" data-i18n="shape.barMarker.kindCross"></option>
|
|
284
|
+
<option value="line" data-i18n="shape.barMarker.kindLine"></option>
|
|
285
|
+
</select>
|
|
286
|
+
</div>
|
|
287
|
+
</div>
|
|
288
|
+
</div>
|
|
289
|
+
<!-- Marker Color -->
|
|
290
|
+
<div class="tcdDialog-content-items">
|
|
291
|
+
<div class="tcdDialog-left-part">
|
|
292
|
+
<label class="tcdLabel" for="tcdShapeDialog_input_barMarkerColor" data-i18n="shape.barMarker.color"></label>
|
|
293
|
+
</div>
|
|
294
|
+
<div class="tcdDialog-right-part">
|
|
295
|
+
<div class="tcdDialog-content-item">
|
|
296
|
+
<select id="tcdShapeDialog_input_barMarkerColor" class="tcdDropdown">
|
|
297
|
+
<option value="auto" data-i18n="shape.barMarker.colorAuto"></option>
|
|
298
|
+
<option value="#ec5a58" data-i18n="shape.barMarker.colorRed"></option>
|
|
299
|
+
<option value="#26a69a" data-i18n="shape.barMarker.colorGreen"></option>
|
|
300
|
+
<option value="#f7931a" data-i18n="shape.barMarker.colorOrange"></option>
|
|
301
|
+
<option value="#2196f3" data-i18n="shape.barMarker.colorBlue"></option>
|
|
302
|
+
<option value="#fdd835" data-i18n="shape.barMarker.colorYellow"></option>
|
|
303
|
+
<option value="#ab47bc" data-i18n="shape.barMarker.colorPurple"></option>
|
|
304
|
+
<option value="#ffffff" data-i18n="shape.barMarker.colorWhite"></option>
|
|
305
|
+
<option value="custom" data-i18n="shape.barMarker.colorCustom"></option>
|
|
306
|
+
</select>
|
|
307
|
+
</div>
|
|
308
|
+
<div class="tcdDialog-content-item tcdColorWithBorder" id="tcdShapeDialog_barMarkerCustomColorWrap" style="display:none;">
|
|
309
|
+
<input id="tcdShapeDialog_input_barMarkerCustomColor" type="text" class="tcdSpectrum">
|
|
310
|
+
</div>
|
|
311
|
+
</div>
|
|
312
|
+
</div>
|
|
313
|
+
<!-- Gradient -->
|
|
314
|
+
<div class="tcdDialog-content-items">
|
|
315
|
+
<div class="tcdDialog-left-part">
|
|
316
|
+
<label class="tcdLabel" data-i18n="shape.barMarker.gradient"></label>
|
|
317
|
+
</div>
|
|
318
|
+
<div class="tcdDialog-right-part">
|
|
319
|
+
<div class="tcdDialog-content-item tcdColorWithBorder">
|
|
320
|
+
<input id="tcdShapeDialog_input_barMarkerGradientFrom" type="text" class="tcdSpectrum" data-i18n="[placeholder]shape.barMarker.gradientFrom">
|
|
321
|
+
</div>
|
|
322
|
+
<div class="tcdDialog-content-item tcdColorWithBorder">
|
|
323
|
+
<input id="tcdShapeDialog_input_barMarkerGradientTo" type="text" class="tcdSpectrum" data-i18n="[placeholder]shape.barMarker.gradientTo">
|
|
324
|
+
</div>
|
|
325
|
+
</div>
|
|
326
|
+
</div>
|
|
327
|
+
<hr class="tcdDelimiter"/>
|
|
328
|
+
<!-- Badge Style -->
|
|
329
|
+
<div class="tcdDialog-content-items">
|
|
330
|
+
<div class="tcdDialog-left-part">
|
|
331
|
+
<label class="tcdLabel" data-i18n="shape.barMarker.badgeRadius"></label>
|
|
332
|
+
</div>
|
|
333
|
+
<div class="tcdDialog-right-part">
|
|
334
|
+
<div class="tcdDialog-content-item">
|
|
335
|
+
<select id="tcdShapeDialog_input_barMarkerBadgeRadius" class="tcdDropdown">
|
|
336
|
+
<option value="0">0</option>
|
|
337
|
+
<option value="2">2</option>
|
|
338
|
+
<option value="3" selected>3</option>
|
|
339
|
+
<option value="5">5</option>
|
|
340
|
+
<option value="8">8</option>
|
|
341
|
+
<option value="12">12</option>
|
|
342
|
+
</select>
|
|
343
|
+
</div>
|
|
344
|
+
</div>
|
|
345
|
+
</div>
|
|
346
|
+
<div class="tcdDialog-content-items">
|
|
347
|
+
<div class="tcdDialog-left-part">
|
|
348
|
+
<label class="tcdLabel" data-i18n="shape.barMarker.badgeBorder"></label>
|
|
349
|
+
</div>
|
|
350
|
+
<div class="tcdDialog-right-part">
|
|
351
|
+
<div class="tcdDialog-content-item tcdColorWithBorder">
|
|
352
|
+
<input id="tcdShapeDialog_input_barMarkerBadgeBorderColor" type="text" class="tcdSpectrum">
|
|
353
|
+
</div>
|
|
354
|
+
<div class="tcdDialog-content-item">
|
|
355
|
+
<select id="tcdShapeDialog_input_barMarkerBadgeBorderWidth" class="tcdDropdown">
|
|
356
|
+
<option value="0">0</option>
|
|
357
|
+
<option value="1" selected>1</option>
|
|
358
|
+
<option value="2">2</option>
|
|
359
|
+
<option value="3">3</option>
|
|
360
|
+
</select>
|
|
361
|
+
</div>
|
|
362
|
+
</div>
|
|
363
|
+
</div>
|
|
364
|
+
<div class="tcdDialog-content-items">
|
|
365
|
+
<div class="tcdDialog-left-part">
|
|
366
|
+
<label class="tcdLabel" data-i18n="shape.barMarker.badgeBgColor"></label>
|
|
367
|
+
</div>
|
|
368
|
+
<div class="tcdDialog-right-part">
|
|
369
|
+
<div class="tcdDialog-content-item tcdColorWithBorder">
|
|
370
|
+
<input id="tcdShapeDialog_input_barMarkerBackgroundColor" type="text" class="tcdSpectrum">
|
|
371
|
+
</div>
|
|
372
|
+
</div>
|
|
373
|
+
</div>
|
|
374
|
+
<div class="tcdDialog-content-items">
|
|
375
|
+
<div class="tcdDialog-left-part">
|
|
376
|
+
<label class="tcdLabel" data-i18n="shape.barMarker.badgeTextColor"></label>
|
|
377
|
+
</div>
|
|
378
|
+
<div class="tcdDialog-right-part">
|
|
379
|
+
<div class="tcdDialog-content-item tcdColorWithBorder">
|
|
380
|
+
<input id="tcdShapeDialog_input_barMarkerTextColor" type="text" class="tcdSpectrum">
|
|
381
|
+
</div>
|
|
382
|
+
</div>
|
|
383
|
+
</div>
|
|
384
|
+
<div class="tcdDialog-content-items">
|
|
385
|
+
<div class="tcdDialog-left-part">
|
|
386
|
+
<label class="tcdLabel" for="tcdShapeDialog_chk_barMarkerConnectLines" data-i18n="shape.barMarker.connectLines"></label>
|
|
387
|
+
</div>
|
|
388
|
+
<div class="tcdDialog-right-part">
|
|
389
|
+
<div class="tcdDialog-content-item" style="transform: translateX(6px);">
|
|
390
|
+
<input id="tcdShapeDialog_chk_barMarkerConnectLines" type="checkbox" class="js-switch" />
|
|
391
|
+
<label class="tcdLabel" for="tcdShapeDialog_chk_barMarkerConnectLines"></label>
|
|
392
|
+
</div>
|
|
393
|
+
</div>
|
|
394
|
+
</div>
|
|
395
|
+
</div>
|
|
396
|
+
</div>
|
|
265
397
|
<div id="tcdShapeDialog_position_tool_tp">
|
|
266
398
|
<div class="tcdDialog-body-content">
|
|
267
399
|
<div class="tcdDialog-content-items">
|
package/localization/en.json
CHANGED
|
@@ -230,7 +230,39 @@
|
|
|
230
230
|
},
|
|
231
231
|
"barMarker": {
|
|
232
232
|
"name": "Bar marker",
|
|
233
|
-
"placeholder": "Enter marker text (default: E)"
|
|
233
|
+
"placeholder": "Enter marker text (default: E)",
|
|
234
|
+
"markerType": "Marker Type",
|
|
235
|
+
"kindDot": "Dot",
|
|
236
|
+
"kindArrowUp": "Arrow Up",
|
|
237
|
+
"kindArrowDown": "Arrow Down",
|
|
238
|
+
"kindArrowAuto": "Arrow (auto)",
|
|
239
|
+
"position": "Position",
|
|
240
|
+
"positionAuto": "Auto (by candle)",
|
|
241
|
+
"positionAbove": "Above",
|
|
242
|
+
"positionBelow": "Below",
|
|
243
|
+
"color": "Marker Color",
|
|
244
|
+
"colorAuto": "Auto (by candle)",
|
|
245
|
+
"colorRed": "Red",
|
|
246
|
+
"colorGreen": "Green",
|
|
247
|
+
"colorOrange": "Orange",
|
|
248
|
+
"colorBlue": "Blue",
|
|
249
|
+
"colorYellow": "Yellow",
|
|
250
|
+
"colorPurple": "Purple",
|
|
251
|
+
"colorWhite": "White",
|
|
252
|
+
"colorCustom": "Custom...",
|
|
253
|
+
"gradient": "Gradient (optional)",
|
|
254
|
+
"gradientFrom": "From",
|
|
255
|
+
"gradientTo": "To",
|
|
256
|
+
"kindSquare": "Square",
|
|
257
|
+
"kindDiamond": "Diamond",
|
|
258
|
+
"kindStar": "Star",
|
|
259
|
+
"kindCross": "Cross",
|
|
260
|
+
"kindLine": "Line",
|
|
261
|
+
"badgeRadius": "Badge Radius",
|
|
262
|
+
"badgeBorder": "Badge Border",
|
|
263
|
+
"badgeBgColor": "Badge Background",
|
|
264
|
+
"badgeTextColor": "Text Color",
|
|
265
|
+
"connectLines": "Connect Lines"
|
|
234
266
|
},
|
|
235
267
|
"lineSegment": {
|
|
236
268
|
"name": "Trend line"
|
package/localization/uk.json
CHANGED
|
@@ -227,7 +227,39 @@
|
|
|
227
227
|
},
|
|
228
228
|
"barMarker": {
|
|
229
229
|
"name": "Маркер бара",
|
|
230
|
-
"placeholder": "Введіть текст маркера (за замовчуванням: E)"
|
|
230
|
+
"placeholder": "Введіть текст маркера (за замовчуванням: E)",
|
|
231
|
+
"markerType": "Тип маркера",
|
|
232
|
+
"kindDot": "Точка",
|
|
233
|
+
"kindArrowUp": "Стрілка вгору",
|
|
234
|
+
"kindArrowDown": "Стрілка вниз",
|
|
235
|
+
"kindArrowAuto": "Стрілка (авто)",
|
|
236
|
+
"position": "Позиція",
|
|
237
|
+
"positionAuto": "Авто (за свічкою)",
|
|
238
|
+
"positionAbove": "Зверху",
|
|
239
|
+
"positionBelow": "Знизу",
|
|
240
|
+
"color": "Колір маркера",
|
|
241
|
+
"colorAuto": "Авто (за свічкою)",
|
|
242
|
+
"colorRed": "Червоний",
|
|
243
|
+
"colorGreen": "Зелений",
|
|
244
|
+
"colorOrange": "Помаранчевий",
|
|
245
|
+
"colorBlue": "Синій",
|
|
246
|
+
"colorYellow": "Жовтий",
|
|
247
|
+
"colorPurple": "Фіолетовий",
|
|
248
|
+
"colorWhite": "Білий",
|
|
249
|
+
"colorCustom": "Власний...",
|
|
250
|
+
"gradient": "Градієнт (необов'язково)",
|
|
251
|
+
"gradientFrom": "Від",
|
|
252
|
+
"gradientTo": "До",
|
|
253
|
+
"kindSquare": "Квадрат",
|
|
254
|
+
"kindDiamond": "Ромб",
|
|
255
|
+
"kindStar": "Зірка",
|
|
256
|
+
"kindCross": "Хрест",
|
|
257
|
+
"kindLine": "Лінія",
|
|
258
|
+
"badgeRadius": "Радіус бейджу",
|
|
259
|
+
"badgeBorder": "Рамка бейджу",
|
|
260
|
+
"badgeBgColor": "Фон бейджу",
|
|
261
|
+
"badgeTextColor": "Колір тексту",
|
|
262
|
+
"connectLines": "З'єднати лінії"
|
|
231
263
|
},
|
|
232
264
|
"lineSegment": {
|
|
233
265
|
"name": "Відрізок"
|
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.14",
|
|
6
6
|
"types": "./d.ts/FintaChart.d.ts",
|
|
7
7
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
8
8
|
"repository": {
|