@barchart/chart-lib 2.411.0 → 2.412.1
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 +8 -0
- chart-lib/barchart.chart.js +7 -7
- chart-lib/package.json +1 -1
chart-lib/barchart.chart.d.ts
CHANGED
|
@@ -2237,6 +2237,10 @@ declare module "@barchart/chart-lib" {
|
|
|
2237
2237
|
save(): string;
|
|
2238
2238
|
/** Set the title for the chart. Not used often. Is ephemeral - does not get saved with the chart. */
|
|
2239
2239
|
setTitle(titleOptions: TitleOptions): void;
|
|
2240
|
+
/** Returns false while symbol metadata is unavailable or any exported symbol is restricted
|
|
2241
|
+
* by the data export policy. Includes comparison plots and expression inputs.
|
|
2242
|
+
*/
|
|
2243
|
+
isDataExportAllowed(): boolean;
|
|
2240
2244
|
/** Exports all the data currently loaded in the chart as a CSV. Best viewed as a spreadsheet in, say, Microsoft Excel. */
|
|
2241
2245
|
exportData(options?: ExportOptions): string;
|
|
2242
2246
|
/** Exports all the data currently loaded in the chart as a structured table. */
|
|
@@ -2298,6 +2302,8 @@ declare module "@barchart/chart-lib" {
|
|
|
2298
2302
|
interface NormalTimeSeriesQuery extends BaseTimeSeriesQuery {
|
|
2299
2303
|
/** Aggregation of the data. */
|
|
2300
2304
|
aggregation: Aggregation;
|
|
2305
|
+
/** Include extended-hours data (default false). */
|
|
2306
|
+
extendedHours?: boolean;
|
|
2301
2307
|
/** Use historical last-trade closes for daily and higher bars (default false). */
|
|
2302
2308
|
useLastTrade?: boolean;
|
|
2303
2309
|
/** Limit returned data to a given time span. */
|
|
@@ -2315,6 +2321,8 @@ declare module "@barchart/chart-lib" {
|
|
|
2315
2321
|
symbol: string;
|
|
2316
2322
|
/** Aggregation of the data. */
|
|
2317
2323
|
aggregation: Aggregation;
|
|
2324
|
+
/** Include extended-hours data (default false). */
|
|
2325
|
+
extendedHours?: boolean;
|
|
2318
2326
|
/** A kind of series we're loading, @see SeriesKind. */
|
|
2319
2327
|
seriesKind: SeriesKind;
|
|
2320
2328
|
/** Should the chart cache the result; used _only_ when the data feed supports caching. */
|