@barchart/chart-lib 2.234.1 → 2.235.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 +4 -25
- chart-lib/barchart.chart.js +1 -1
- chart-lib/package.json +1 -1
- chart-lib/schemas/chart.schema.json +9 -46
chart-lib/barchart.chart.d.ts
CHANGED
|
@@ -534,8 +534,7 @@ declare module "@barchart/chart-lib" {
|
|
|
534
534
|
| "Forward"
|
|
535
535
|
| "BalanceSheet"
|
|
536
536
|
| "IncomeStatement"
|
|
537
|
-
| "Seasonal"
|
|
538
|
-
| "Annual";
|
|
537
|
+
| "Seasonal";
|
|
539
538
|
|
|
540
539
|
export type AggregationUnit = "Tick" | "Intraday" | "Day" | "Week" | "Month" | "Quarter" | "Year";
|
|
541
540
|
export type AggregationSpec =
|
|
@@ -1297,8 +1296,7 @@ declare module "@barchart/chart-lib" {
|
|
|
1297
1296
|
| IMainPlotSymbolContext
|
|
1298
1297
|
| IMainPlotExpressionContext
|
|
1299
1298
|
| IMainPlotForwardContext
|
|
1300
|
-
| IMainPlotSeasonalContext
|
|
1301
|
-
| IMainPlotAnnualContext;
|
|
1299
|
+
| IMainPlotSeasonalContext;
|
|
1302
1300
|
}
|
|
1303
1301
|
|
|
1304
1302
|
export interface IMainPlotSymbolContext {
|
|
@@ -1317,10 +1315,6 @@ declare module "@barchart/chart-lib" {
|
|
|
1317
1315
|
seasonal: string;
|
|
1318
1316
|
}
|
|
1319
1317
|
|
|
1320
|
-
export interface IMainPlotAnnualContext {
|
|
1321
|
-
annual: string;
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1324
1318
|
export interface AggregationAccessor {
|
|
1325
1319
|
id: string;
|
|
1326
1320
|
context: Aggregation;
|
|
@@ -1425,7 +1419,6 @@ declare module "@barchart/chart-lib" {
|
|
|
1425
1419
|
expression?: string;
|
|
1426
1420
|
forward?: string;
|
|
1427
1421
|
seasonal?: string;
|
|
1428
|
-
annual?: string;
|
|
1429
1422
|
frequency?: "Quarter" | "Year";
|
|
1430
1423
|
inputs?: { name: string; value: number | string }[];
|
|
1431
1424
|
curves?: Curve[];
|
|
@@ -2361,8 +2354,7 @@ declare module "@barchart/chart-lib" {
|
|
|
2361
2354
|
| StudyPlotModel
|
|
2362
2355
|
| ExpressionPlotModel
|
|
2363
2356
|
| SeasonalPlotModel
|
|
2364
|
-
| ForwardPlotModel
|
|
2365
|
-
| AnnualPlotModel;
|
|
2357
|
+
| ForwardPlotModel;
|
|
2366
2358
|
|
|
2367
2359
|
export interface PlotEvents {
|
|
2368
2360
|
dividends?: PlotEventDividends;
|
|
@@ -2518,14 +2510,6 @@ declare module "@barchart/chart-lib" {
|
|
|
2518
2510
|
type: "Forward";
|
|
2519
2511
|
}
|
|
2520
2512
|
|
|
2521
|
-
/** Reserved for internal use, please ignore. */
|
|
2522
|
-
export interface AnnualPlotModel {
|
|
2523
|
-
curves: Curve[];
|
|
2524
|
-
annual: string;
|
|
2525
|
-
main?: boolean;
|
|
2526
|
-
type: "Annual";
|
|
2527
|
-
}
|
|
2528
|
-
|
|
2529
2513
|
// types used in the API
|
|
2530
2514
|
|
|
2531
2515
|
interface Plot {
|
|
@@ -2570,18 +2554,13 @@ declare module "@barchart/chart-lib" {
|
|
|
2570
2554
|
offsets: number[];
|
|
2571
2555
|
}
|
|
2572
2556
|
|
|
2573
|
-
export interface AnnualPlot extends Plot {
|
|
2574
|
-
annual: string;
|
|
2575
|
-
}
|
|
2576
|
-
|
|
2577
2557
|
export type ChartPlot =
|
|
2578
2558
|
| StudyPlot
|
|
2579
2559
|
| FundamentalPlot
|
|
2580
2560
|
| SymbolPlot
|
|
2581
2561
|
| ExpressionPlot
|
|
2582
2562
|
| ForwardPlot
|
|
2583
|
-
| SeasonalPlot
|
|
2584
|
-
| AnnualPlot;
|
|
2563
|
+
| SeasonalPlot;
|
|
2585
2564
|
|
|
2586
2565
|
export interface PlotOfChart {
|
|
2587
2566
|
chart: ChartAccessor;
|