@barchart/chart-lib 2.402.0 → 2.404.0
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.
- chart-lib/barchart.chart.d.ts +11 -2
- chart-lib/barchart.chart.js +20 -20
- chart-lib/package.json +1 -1
- chart-lib/schemas/chart.schema.json +31 -3
- chart-lib/schemas/studies.schema.json +1 -0
chart-lib/barchart.chart.d.ts
CHANGED
|
@@ -422,7 +422,11 @@ declare module "@barchart/chart-lib" {
|
|
|
422
422
|
| "ZZPIVOT"
|
|
423
423
|
| "ATREXTAVG"
|
|
424
424
|
| "ATREXTUP"
|
|
425
|
-
| "ATREXTLOW"
|
|
425
|
+
| "ATREXTLOW"
|
|
426
|
+
| "DIDIS"
|
|
427
|
+
| "DIDIL"
|
|
428
|
+
| "DIDIUP"
|
|
429
|
+
| "DIDIDN";
|
|
426
430
|
|
|
427
431
|
export type GeneralFieldId =
|
|
428
432
|
| "DateTime"
|
|
@@ -608,7 +612,8 @@ declare module "@barchart/chart-lib" {
|
|
|
608
612
|
| "CORR"
|
|
609
613
|
| "RVI"
|
|
610
614
|
| "ZIGZAG"
|
|
611
|
-
| "ATREXT"
|
|
615
|
+
| "ATREXT"
|
|
616
|
+
| "DIDI";
|
|
612
617
|
|
|
613
618
|
export type PlotType =
|
|
614
619
|
| "Symbol"
|
|
@@ -2798,6 +2803,8 @@ declare module "@barchart/chart-lib" {
|
|
|
2798
2803
|
}
|
|
2799
2804
|
|
|
2800
2805
|
export interface StudyInput {
|
|
2806
|
+
/** Discrete numeric input; normalized with Math.ceil at the model boundary. */
|
|
2807
|
+
integer?: boolean;
|
|
2801
2808
|
/** Name of the input parameter. */
|
|
2802
2809
|
name: string;
|
|
2803
2810
|
/** Value of the input parameter. */
|
|
@@ -2899,6 +2906,8 @@ declare module "@barchart/chart-lib" {
|
|
|
2899
2906
|
balanceSheets: BalanceSheet[];
|
|
2900
2907
|
studyFields: StudyField[];
|
|
2901
2908
|
curveStyles: CurveStyle[];
|
|
2909
|
+
/** Input defaults, including integer declarations, for configurable curve styles. */
|
|
2910
|
+
curveStyleInputs: Partial<Record<CurveStyle, StudyInput[]>>;
|
|
2902
2911
|
annotations: AnnotationConfig[];
|
|
2903
2912
|
}
|
|
2904
2913
|
|