acttrader-charts 1.0.13 → 1.0.15

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/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as ChartConfig, O as OHLCVBar, I as IIndicator, a as ChartEventMap, T as Timeframe, S as SeriesType, b as ChartState, D as DrawingToolType, c as IDrawing, d as IWebSocketAdapter, e as TradeLevelType, A as AnyLevel, f as DrawingPoint, g as ScaleManager, V as Viewport, P as PriceRange$1, h as DrawingHandle, i as SerializedDrawing, j as Tick, k as StreamStatus } from './MACD-CEmdbwGz.cjs';
2
- export { l as ActiveIndicatorState, B as BollingerBands, m as BottomBarColors, n as BottomBarLabels, o as BottomBarUiConfig, p as CanvasColorSettings, q as ChartLabels, r as ChartMiscLabels, s as ChartTheme, t as ChartThemeUi, u as CrosshairPosition, v as CrosshairUiConfig, w as DARK_THEME, x as DEFAULT_BOTTOM_BAR_CONFIG, y as DEFAULT_CROSSHAIR_CONFIG, z as DEFAULT_DRAWING_TOOLBAR_CONFIG, E as DEFAULT_INDICATOR_OVERLAY_CONFIG, F as DEFAULT_LABELS, G as DEFAULT_PRICE_AXIS_CONFIG, H as DEFAULT_TIME_AXIS_CONFIG, J as DEFAULT_TOP_BAR_CONFIG, K as DEFAULT_TRADE_BUTTON_CONFIG, L as DEFAULT_UI_CONFIG, M as DataLoaderParams, N as DeepPartial, Q as DeepPartialChartTheme, R as DialogLabels, U as DrawingToolbarColors, W as DrawingToolbarLabels, X as DrawingToolbarUiConfig, Y as Duration, Z as EMA, _ as IndicatorOverlayColors, $ as IndicatorOverlayUiConfig, a0 as IndicatorParams, a1 as IndicatorResult, a2 as IndicatorStateEntry, a3 as LIGHT_THEME, a4 as MACD, a5 as OhlcLabels, a6 as OrderSubmit, a7 as Padding, a8 as PendingOrderLevel, a9 as PositionLevel, aa as PositionRenderStyle, ab as PriceAxisUiConfig, ac as RSI, ad as SMA, ae as Theme, af as TimeAxisUiConfig, ag as TopBarColors, ah as TopBarLabels, ai as TopBarUiConfig, aj as TradeButtonUiConfig, ak as TradeDisplayFilter, al as TradeLabels, am as TradeLevel, an as TradeLevelColors, ao as TradePanelColors, ap as UiConfig, aq as deepMergeTheme, ar as resolveCssVarsInTheme, as as resolveLabels, at as resolveUiConfig } from './MACD-CEmdbwGz.cjs';
1
+ import { C as ChartConfig, O as OHLCVBar, I as IIndicator, a as ChartEventMap, T as Timeframe, S as SeriesType, b as ChartState, D as DrawingToolType, c as IDrawing, d as IWebSocketAdapter, e as TradeLevelType, A as AnyLevel, f as DrawingPoint, g as ScaleManager, V as Viewport, P as PriceRange$1, h as DrawingHandle, i as SerializedDrawing, j as Tick, k as StreamStatus } from './MACD-DVxcNurb.cjs';
2
+ export { l as ActiveIndicatorState, B as BollingerBands, m as BottomBarColors, n as BottomBarLabels, o as BottomBarUiConfig, p as CanvasColorSettings, q as ChartLabels, r as ChartMiscLabels, s as ChartTheme, t as ChartThemeUi, u as CrosshairPosition, v as CrosshairUiConfig, w as DARK_THEME, x as DEFAULT_BOTTOM_BAR_CONFIG, y as DEFAULT_CROSSHAIR_CONFIG, z as DEFAULT_DRAWING_TOOLBAR_CONFIG, E as DEFAULT_INDICATOR_OVERLAY_CONFIG, F as DEFAULT_LABELS, G as DEFAULT_PRICE_AXIS_CONFIG, H as DEFAULT_TIME_AXIS_CONFIG, J as DEFAULT_TOP_BAR_CONFIG, K as DEFAULT_TRADE_BUTTON_CONFIG, L as DEFAULT_UI_CONFIG, M as DataLoaderParams, N as DeepPartial, Q as DeepPartialChartTheme, R as DialogLabels, U as DrawingToolbarColors, W as DrawingToolbarLabels, X as DrawingToolbarUiConfig, Y as Duration, Z as EMA, _ as IndicatorOverlayColors, $ as IndicatorOverlayUiConfig, a0 as IndicatorParams, a1 as IndicatorResult, a2 as IndicatorStateEntry, a3 as LIGHT_THEME, a4 as MACD, a5 as OhlcLabels, a6 as OrderSubmit, a7 as Padding, a8 as PendingOrderLevel, a9 as PositionLevel, aa as PositionRenderStyle, ab as PriceAxisUiConfig, ac as RSI, ad as SMA, ae as Theme, af as ThemeOverrides, ag as TimeAxisUiConfig, ah as TopBarColors, ai as TopBarLabels, aj as TopBarUiConfig, ak as TradeButtonUiConfig, al as TradeDisplayFilter, am as TradeLabels, an as TradeLevel, ao as TradeLevelColors, ap as TradePanelColors, aq as UiConfig, ar as deepMergeTheme, as as resolveCssVarsInTheme, at as resolveLabels, au as resolveUiConfig } from './MACD-DVxcNurb.cjs';
3
3
 
4
4
  declare class ChartEngine {
5
5
  private wrapper;
@@ -35,6 +35,11 @@ declare class ChartEngine {
35
35
  private _hoverBuyType;
36
36
  private _hoverSellType;
37
37
  private _minLots;
38
+ private _showQuantityField;
39
+ private _qtyFieldMin;
40
+ private _qtyFieldMax;
41
+ private _draftQtyFlyout;
42
+ private _draftQtyPillArea;
38
43
  private _onOrderSubmit;
39
44
  private scrollToEndBtn;
40
45
  private scrollToEndVisible;
@@ -52,6 +57,8 @@ declare class ChartEngine {
52
57
  private showBidAskLines;
53
58
  private showActLogo;
54
59
  private hideLevelConfirmCancel;
60
+ private levelClusteringEnabled;
61
+ private clusterThresholdDistance;
55
62
  private enableThemeToggle;
56
63
  private timeframe;
57
64
  private duration;
@@ -104,19 +111,28 @@ declare class ChartEngine {
104
111
  private get _isTradingActive();
105
112
  private uiConfig;
106
113
  private themeOverrides;
114
+ private timezone;
107
115
  private settingsCanvasColors;
108
116
  private aggregateFrom;
109
117
  private labels;
110
118
  private streamAdapter;
111
119
  private liveBidAsk;
112
120
  private tickClosePriceSource;
121
+ /** True while an async data fetch is in-flight; suppresses tick processing to
122
+ * prevent stale ticks from corrupting newly-loaded bars. */
123
+ private _suppressTicks;
113
124
  private levels;
114
125
  private tradeLevelHitAreas;
126
+ private offViewportHitAreas;
115
127
  private tradeLevelEditAreas;
116
128
  private tradeHoverAreas;
117
129
  private tradeLevelDragAreas;
118
130
  private tradeLevelConfirmAreas;
119
131
  private tradeAddBracketAreas;
132
+ private clusterBadgeAreas;
133
+ private lastClusters;
134
+ /** Set of cluster IDs that are currently expanded (fanned out). */
135
+ private expandedClusters;
120
136
  private hoveredTradeLabel;
121
137
  private selectedTradeLabel;
122
138
  private tradeCanvas;
@@ -130,6 +146,8 @@ declare class ChartEngine {
130
146
  /** True when the current bracket drag is adding a NEW bracket (via +SL/+TP button). */
131
147
  private _isBracketNew;
132
148
  private pendingLevelDrags;
149
+ private tfcEnabled;
150
+ private tfcActive;
133
151
  private tradeDisplayFilter;
134
152
  private positionRenderStyle;
135
153
  private tradesThresholdForHorizontalLine;
@@ -139,7 +157,9 @@ declare class ChartEngine {
139
157
  private dataLoader;
140
158
  private isFetching;
141
159
  private noMoreData;
160
+ private _loadGeneration;
142
161
  private maxCandles;
162
+ private prefetchThreshold;
143
163
  private defaultVisibleBars;
144
164
  private defaultMobileVisibleBars;
145
165
  private mobileBarDivisor;
@@ -152,6 +172,22 @@ declare class ChartEngine {
152
172
  private loadingOverlayEl;
153
173
  private logoImage;
154
174
  constructor(config: ChartConfig);
175
+ /**
176
+ * Completely resets the chart to a clean, empty state.
177
+ *
178
+ * Cancels any in-flight data fetch, clears all bars, resets the price/time
179
+ * axes, and discards the live bid/ask price line. The chart will render as
180
+ * blank until the next `loadData()` call.
181
+ *
182
+ * Call this before switching to a new symbol so that no previous symbol's
183
+ * data, price lines, or stale ticks can bleed into the new chart:
184
+ * ```
185
+ * chart.setSymbol('GBPUSD').resetData();
186
+ * // … fetch new bars, then:
187
+ * chart.loadData(newBars);
188
+ * ```
189
+ */
190
+ resetData(): this;
155
191
  loadData(bars: OHLCVBar[], fitAll?: boolean): this;
156
192
  /** Prepends historical bars before the current dataset without a visual jump. */
157
193
  prependData(bars: OHLCVBar[]): this;
@@ -182,7 +218,18 @@ declare class ChartEngine {
182
218
  setTimeframe(tf: Timeframe): this;
183
219
  /** Update per-theme deep-partial color overrides and rebuild the active theme. */
184
220
  setThemeOverrides(overrides: ChartConfig['themeOverrides']): this;
221
+ /**
222
+ * Changes the display timezone for all time-axis and crosshair labels.
223
+ * Accepts any IANA string (e.g. `"America/New_York"`), `"UTC"`, or `"local"`.
224
+ */
225
+ setTimezone(tz: string): this;
185
226
  setSeries(series: SeriesType): this;
227
+ /**
228
+ * Toggle TFC (Trade from Charts) on or off at runtime.
229
+ * When disabled, all trade levels, the trade button, and trade popover are hidden.
230
+ * Only functional when `tfcEnabled` config option is `true` (default).
231
+ */
232
+ setTfcActive(enabled: boolean): this;
186
233
  private clearDuration;
187
234
  setVolume(show: boolean): this;
188
235
  private isRestoringState;
@@ -221,6 +268,13 @@ declare class ChartEngine {
221
268
  * Updates the trade popover lot display and the submitted lot size. Will be removed in a future version.
222
269
  */
223
270
  setMinLots(lots: number): this;
271
+ /**
272
+ * Updates the quantity (lots) shown in the draft order QTY pill and
273
+ * submitted when the order is confirmed.
274
+ * @param qty Lot size to display and submit.
275
+ */
276
+ setDraftQty(qty: number): this;
277
+ private openDraftQtyFlyout;
224
278
  /**
225
279
  * @deprecated DraftOrderQtyInput has been removed. This method is a no-op
226
280
  * kept for backward compatibility. It will be removed in a future version.
@@ -364,6 +418,10 @@ declare class ChartEngine {
364
418
  * and the chart should highlight the corresponding level.
365
419
  */
366
420
  selectLevel(label: string | null): this;
421
+ /** Enable or disable trade-level fan-out clustering at runtime. */
422
+ setLevelClusteringEnabled(enabled: boolean): this;
423
+ /** Update the cluster proximity threshold (in pixels) at runtime. Only effective when levelClusteringEnabled is true. */
424
+ setClusterThresholdDistance(px: number): this;
367
425
  destroy(): void;
368
426
  private createMobileDrawingFlyout;
369
427
  private showMobileDrawingFlyout;
@@ -439,6 +497,12 @@ declare class ChartEngine {
439
497
  * Use this when you receive a corrected candle from an external source. */
440
498
  correctBar(barTime: number, bar: OHLCVBar): void;
441
499
  private scrollToEnd;
500
+ /**
501
+ * Smooth-scroll the Y axis so `price` lands at the vertical center of the
502
+ * chart. Animates `pricePanOffset` only — horizontal viewport is preserved.
503
+ * Used by off-viewport level indicator clicks.
504
+ */
505
+ private scrollToCenterPrice;
442
506
  private resetPriceAxis;
443
507
  private resetTimeAxis;
444
508
  /** Reset both price and time axes to their default state. */
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as ChartConfig, O as OHLCVBar, I as IIndicator, a as ChartEventMap, T as Timeframe, S as SeriesType, b as ChartState, D as DrawingToolType, c as IDrawing, d as IWebSocketAdapter, e as TradeLevelType, A as AnyLevel, f as DrawingPoint, g as ScaleManager, V as Viewport, P as PriceRange$1, h as DrawingHandle, i as SerializedDrawing, j as Tick, k as StreamStatus } from './MACD-CEmdbwGz.js';
2
- export { l as ActiveIndicatorState, B as BollingerBands, m as BottomBarColors, n as BottomBarLabels, o as BottomBarUiConfig, p as CanvasColorSettings, q as ChartLabels, r as ChartMiscLabels, s as ChartTheme, t as ChartThemeUi, u as CrosshairPosition, v as CrosshairUiConfig, w as DARK_THEME, x as DEFAULT_BOTTOM_BAR_CONFIG, y as DEFAULT_CROSSHAIR_CONFIG, z as DEFAULT_DRAWING_TOOLBAR_CONFIG, E as DEFAULT_INDICATOR_OVERLAY_CONFIG, F as DEFAULT_LABELS, G as DEFAULT_PRICE_AXIS_CONFIG, H as DEFAULT_TIME_AXIS_CONFIG, J as DEFAULT_TOP_BAR_CONFIG, K as DEFAULT_TRADE_BUTTON_CONFIG, L as DEFAULT_UI_CONFIG, M as DataLoaderParams, N as DeepPartial, Q as DeepPartialChartTheme, R as DialogLabels, U as DrawingToolbarColors, W as DrawingToolbarLabels, X as DrawingToolbarUiConfig, Y as Duration, Z as EMA, _ as IndicatorOverlayColors, $ as IndicatorOverlayUiConfig, a0 as IndicatorParams, a1 as IndicatorResult, a2 as IndicatorStateEntry, a3 as LIGHT_THEME, a4 as MACD, a5 as OhlcLabels, a6 as OrderSubmit, a7 as Padding, a8 as PendingOrderLevel, a9 as PositionLevel, aa as PositionRenderStyle, ab as PriceAxisUiConfig, ac as RSI, ad as SMA, ae as Theme, af as TimeAxisUiConfig, ag as TopBarColors, ah as TopBarLabels, ai as TopBarUiConfig, aj as TradeButtonUiConfig, ak as TradeDisplayFilter, al as TradeLabels, am as TradeLevel, an as TradeLevelColors, ao as TradePanelColors, ap as UiConfig, aq as deepMergeTheme, ar as resolveCssVarsInTheme, as as resolveLabels, at as resolveUiConfig } from './MACD-CEmdbwGz.js';
1
+ import { C as ChartConfig, O as OHLCVBar, I as IIndicator, a as ChartEventMap, T as Timeframe, S as SeriesType, b as ChartState, D as DrawingToolType, c as IDrawing, d as IWebSocketAdapter, e as TradeLevelType, A as AnyLevel, f as DrawingPoint, g as ScaleManager, V as Viewport, P as PriceRange$1, h as DrawingHandle, i as SerializedDrawing, j as Tick, k as StreamStatus } from './MACD-DVxcNurb.js';
2
+ export { l as ActiveIndicatorState, B as BollingerBands, m as BottomBarColors, n as BottomBarLabels, o as BottomBarUiConfig, p as CanvasColorSettings, q as ChartLabels, r as ChartMiscLabels, s as ChartTheme, t as ChartThemeUi, u as CrosshairPosition, v as CrosshairUiConfig, w as DARK_THEME, x as DEFAULT_BOTTOM_BAR_CONFIG, y as DEFAULT_CROSSHAIR_CONFIG, z as DEFAULT_DRAWING_TOOLBAR_CONFIG, E as DEFAULT_INDICATOR_OVERLAY_CONFIG, F as DEFAULT_LABELS, G as DEFAULT_PRICE_AXIS_CONFIG, H as DEFAULT_TIME_AXIS_CONFIG, J as DEFAULT_TOP_BAR_CONFIG, K as DEFAULT_TRADE_BUTTON_CONFIG, L as DEFAULT_UI_CONFIG, M as DataLoaderParams, N as DeepPartial, Q as DeepPartialChartTheme, R as DialogLabels, U as DrawingToolbarColors, W as DrawingToolbarLabels, X as DrawingToolbarUiConfig, Y as Duration, Z as EMA, _ as IndicatorOverlayColors, $ as IndicatorOverlayUiConfig, a0 as IndicatorParams, a1 as IndicatorResult, a2 as IndicatorStateEntry, a3 as LIGHT_THEME, a4 as MACD, a5 as OhlcLabels, a6 as OrderSubmit, a7 as Padding, a8 as PendingOrderLevel, a9 as PositionLevel, aa as PositionRenderStyle, ab as PriceAxisUiConfig, ac as RSI, ad as SMA, ae as Theme, af as ThemeOverrides, ag as TimeAxisUiConfig, ah as TopBarColors, ai as TopBarLabels, aj as TopBarUiConfig, ak as TradeButtonUiConfig, al as TradeDisplayFilter, am as TradeLabels, an as TradeLevel, ao as TradeLevelColors, ap as TradePanelColors, aq as UiConfig, ar as deepMergeTheme, as as resolveCssVarsInTheme, at as resolveLabels, au as resolveUiConfig } from './MACD-DVxcNurb.js';
3
3
 
4
4
  declare class ChartEngine {
5
5
  private wrapper;
@@ -35,6 +35,11 @@ declare class ChartEngine {
35
35
  private _hoverBuyType;
36
36
  private _hoverSellType;
37
37
  private _minLots;
38
+ private _showQuantityField;
39
+ private _qtyFieldMin;
40
+ private _qtyFieldMax;
41
+ private _draftQtyFlyout;
42
+ private _draftQtyPillArea;
38
43
  private _onOrderSubmit;
39
44
  private scrollToEndBtn;
40
45
  private scrollToEndVisible;
@@ -52,6 +57,8 @@ declare class ChartEngine {
52
57
  private showBidAskLines;
53
58
  private showActLogo;
54
59
  private hideLevelConfirmCancel;
60
+ private levelClusteringEnabled;
61
+ private clusterThresholdDistance;
55
62
  private enableThemeToggle;
56
63
  private timeframe;
57
64
  private duration;
@@ -104,19 +111,28 @@ declare class ChartEngine {
104
111
  private get _isTradingActive();
105
112
  private uiConfig;
106
113
  private themeOverrides;
114
+ private timezone;
107
115
  private settingsCanvasColors;
108
116
  private aggregateFrom;
109
117
  private labels;
110
118
  private streamAdapter;
111
119
  private liveBidAsk;
112
120
  private tickClosePriceSource;
121
+ /** True while an async data fetch is in-flight; suppresses tick processing to
122
+ * prevent stale ticks from corrupting newly-loaded bars. */
123
+ private _suppressTicks;
113
124
  private levels;
114
125
  private tradeLevelHitAreas;
126
+ private offViewportHitAreas;
115
127
  private tradeLevelEditAreas;
116
128
  private tradeHoverAreas;
117
129
  private tradeLevelDragAreas;
118
130
  private tradeLevelConfirmAreas;
119
131
  private tradeAddBracketAreas;
132
+ private clusterBadgeAreas;
133
+ private lastClusters;
134
+ /** Set of cluster IDs that are currently expanded (fanned out). */
135
+ private expandedClusters;
120
136
  private hoveredTradeLabel;
121
137
  private selectedTradeLabel;
122
138
  private tradeCanvas;
@@ -130,6 +146,8 @@ declare class ChartEngine {
130
146
  /** True when the current bracket drag is adding a NEW bracket (via +SL/+TP button). */
131
147
  private _isBracketNew;
132
148
  private pendingLevelDrags;
149
+ private tfcEnabled;
150
+ private tfcActive;
133
151
  private tradeDisplayFilter;
134
152
  private positionRenderStyle;
135
153
  private tradesThresholdForHorizontalLine;
@@ -139,7 +157,9 @@ declare class ChartEngine {
139
157
  private dataLoader;
140
158
  private isFetching;
141
159
  private noMoreData;
160
+ private _loadGeneration;
142
161
  private maxCandles;
162
+ private prefetchThreshold;
143
163
  private defaultVisibleBars;
144
164
  private defaultMobileVisibleBars;
145
165
  private mobileBarDivisor;
@@ -152,6 +172,22 @@ declare class ChartEngine {
152
172
  private loadingOverlayEl;
153
173
  private logoImage;
154
174
  constructor(config: ChartConfig);
175
+ /**
176
+ * Completely resets the chart to a clean, empty state.
177
+ *
178
+ * Cancels any in-flight data fetch, clears all bars, resets the price/time
179
+ * axes, and discards the live bid/ask price line. The chart will render as
180
+ * blank until the next `loadData()` call.
181
+ *
182
+ * Call this before switching to a new symbol so that no previous symbol's
183
+ * data, price lines, or stale ticks can bleed into the new chart:
184
+ * ```
185
+ * chart.setSymbol('GBPUSD').resetData();
186
+ * // … fetch new bars, then:
187
+ * chart.loadData(newBars);
188
+ * ```
189
+ */
190
+ resetData(): this;
155
191
  loadData(bars: OHLCVBar[], fitAll?: boolean): this;
156
192
  /** Prepends historical bars before the current dataset without a visual jump. */
157
193
  prependData(bars: OHLCVBar[]): this;
@@ -182,7 +218,18 @@ declare class ChartEngine {
182
218
  setTimeframe(tf: Timeframe): this;
183
219
  /** Update per-theme deep-partial color overrides and rebuild the active theme. */
184
220
  setThemeOverrides(overrides: ChartConfig['themeOverrides']): this;
221
+ /**
222
+ * Changes the display timezone for all time-axis and crosshair labels.
223
+ * Accepts any IANA string (e.g. `"America/New_York"`), `"UTC"`, or `"local"`.
224
+ */
225
+ setTimezone(tz: string): this;
185
226
  setSeries(series: SeriesType): this;
227
+ /**
228
+ * Toggle TFC (Trade from Charts) on or off at runtime.
229
+ * When disabled, all trade levels, the trade button, and trade popover are hidden.
230
+ * Only functional when `tfcEnabled` config option is `true` (default).
231
+ */
232
+ setTfcActive(enabled: boolean): this;
186
233
  private clearDuration;
187
234
  setVolume(show: boolean): this;
188
235
  private isRestoringState;
@@ -221,6 +268,13 @@ declare class ChartEngine {
221
268
  * Updates the trade popover lot display and the submitted lot size. Will be removed in a future version.
222
269
  */
223
270
  setMinLots(lots: number): this;
271
+ /**
272
+ * Updates the quantity (lots) shown in the draft order QTY pill and
273
+ * submitted when the order is confirmed.
274
+ * @param qty Lot size to display and submit.
275
+ */
276
+ setDraftQty(qty: number): this;
277
+ private openDraftQtyFlyout;
224
278
  /**
225
279
  * @deprecated DraftOrderQtyInput has been removed. This method is a no-op
226
280
  * kept for backward compatibility. It will be removed in a future version.
@@ -364,6 +418,10 @@ declare class ChartEngine {
364
418
  * and the chart should highlight the corresponding level.
365
419
  */
366
420
  selectLevel(label: string | null): this;
421
+ /** Enable or disable trade-level fan-out clustering at runtime. */
422
+ setLevelClusteringEnabled(enabled: boolean): this;
423
+ /** Update the cluster proximity threshold (in pixels) at runtime. Only effective when levelClusteringEnabled is true. */
424
+ setClusterThresholdDistance(px: number): this;
367
425
  destroy(): void;
368
426
  private createMobileDrawingFlyout;
369
427
  private showMobileDrawingFlyout;
@@ -439,6 +497,12 @@ declare class ChartEngine {
439
497
  * Use this when you receive a corrected candle from an external source. */
440
498
  correctBar(barTime: number, bar: OHLCVBar): void;
441
499
  private scrollToEnd;
500
+ /**
501
+ * Smooth-scroll the Y axis so `price` lands at the vertical center of the
502
+ * chart. Animates `pricePanOffset` only — horizontal viewport is preserved.
503
+ * Used by off-viewport level indicator clicks.
504
+ */
505
+ private scrollToCenterPrice;
442
506
  private resetPriceAxis;
443
507
  private resetTimeAxis;
444
508
  /** Reset both price and time axes to their default state. */