funhi-chart 1.3.5 → 1.3.6

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.
@@ -60,9 +60,6 @@ export declare class CandleManager {
60
60
  getLastCandleTime(): number;
61
61
  /**
62
62
  * Loads candles from storage
63
- * CRITICAL: Merges with existing candles instead of replacing them
64
- * Preserves current candle if it's newer than loaded candles
65
- * Also checks if currentCandle is stale and resets it if needed
66
63
  */
67
64
  loadCandles(candles: CandleData[]): void;
68
65
  /**
@@ -14,9 +14,6 @@ export declare class ChartRenderer {
14
14
  private series;
15
15
  private container;
16
16
  private options;
17
- private lastCandleTime;
18
- private lastFullUpdate;
19
- private readonly FULL_UPDATE_INTERVAL;
20
17
  constructor(container: HTMLDivElement, options: ChartOptions);
21
18
  /**
22
19
  * Initializes the chart
@@ -24,17 +21,12 @@ export declare class ChartRenderer {
24
21
  initialize(): void;
25
22
  /**
26
23
  * Updates chart data
27
- * Uses incremental updates for performance and to prevent rendering issues over time
28
24
  */
29
25
  updateData(candles: CandleData[]): void;
30
26
  /**
31
27
  * Sets the current timeframe (for future use if needed)
32
28
  */
33
29
  setTimeframe(timeframe: TimeFrame): void;
34
- /**
35
- * Forces a full data refresh (useful when switching timeframes or after long periods)
36
- */
37
- forceFullUpdate(): void;
38
30
  /**
39
31
  * Resizes the chart
40
32
  */