@barchart/chart-lib 2.228.4 → 2.230.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
CHANGED
|
@@ -387,7 +387,9 @@ declare module "@barchart/chart-lib" {
|
|
|
387
387
|
| "WeekPreviousLow"
|
|
388
388
|
| "MonthPreviousClose"
|
|
389
389
|
| "MonthPreviousHigh"
|
|
390
|
-
| "MonthPreviousLow"
|
|
390
|
+
| "MonthPreviousLow"
|
|
391
|
+
| "YearHigh"
|
|
392
|
+
| "YearLow";
|
|
391
393
|
|
|
392
394
|
export type CurveFieldId = FundamentalFieldId | StudyFieldId | GeneralFieldId;
|
|
393
395
|
|
|
@@ -2302,16 +2304,28 @@ declare module "@barchart/chart-lib" {
|
|
|
2302
2304
|
| "PointAndFigure"
|
|
2303
2305
|
| "Baseline";
|
|
2304
2306
|
|
|
2307
|
+
export type AnnotationDataType = "bool" | "line" | "array" | "string" | "object" | "number" | "color";
|
|
2308
|
+
|
|
2309
|
+
export interface AnnotationType {
|
|
2310
|
+
id: string;
|
|
2311
|
+
type: AnnotationDataType;
|
|
2312
|
+
description: string;
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
|
+
export interface AnnotationConfig {
|
|
2316
|
+
id: AnnotationId;
|
|
2317
|
+
options: string[];
|
|
2318
|
+
types: AnnotationType[];
|
|
2319
|
+
numPoints: number;
|
|
2320
|
+
}
|
|
2321
|
+
|
|
2305
2322
|
interface Taxonomies {
|
|
2306
2323
|
studies: Study[];
|
|
2307
2324
|
incomeStatements: IncomeStatement[];
|
|
2308
2325
|
balanceSheets: BalanceSheet[];
|
|
2309
2326
|
studyFields: StudyField[];
|
|
2310
2327
|
curveStyles: CurveStyle[];
|
|
2311
|
-
annotations:
|
|
2312
|
-
id: string;
|
|
2313
|
-
options: Array<string>;
|
|
2314
|
-
}>;
|
|
2328
|
+
annotations: AnnotationConfig[];
|
|
2315
2329
|
}
|
|
2316
2330
|
|
|
2317
2331
|
export function getTaxonomies(): Taxonomies;
|