tsichart-core 2.1.5 → 2.1.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.
package/dist/index.d.ts CHANGED
@@ -534,6 +534,7 @@ declare class LineChart extends TemporalXAxisComponent {
534
534
  private swimLaneContents;
535
535
  private originalSwimLanes;
536
536
  private originalSwimLaneOptions;
537
+ private _playbackMarker;
537
538
  constructor(renderTarget: Element);
538
539
  LineChart(): void;
539
540
  getBrushPositions(): {
@@ -573,6 +574,14 @@ declare class LineChart extends TemporalXAxisComponent {
573
574
  exportMarkers(): void;
574
575
  private createOnMarkerChange;
575
576
  private renderMarker;
577
+ /**
578
+ * Moves or creates a persistent playback marker at the given time.
579
+ * Call this on each playback tick for smooth marker movement.
580
+ * @param millis The timestamp (in ms) to move the marker to.
581
+ * @param label Optional label for the marker.
582
+ */
583
+ updatePlaybackMarker(millis: number, label?: string): void;
584
+ removePlaybackMarker(): void;
576
585
  private sortMarkers;
577
586
  private getAllLinesTransitionsComplete;
578
587
  private importMarkers;
@@ -1019,7 +1028,7 @@ declare class ModelSearch extends Component {
1019
1028
  private currentResultIndex;
1020
1029
  constructor(renderTarget: Element);
1021
1030
  ModelSearch(): void;
1022
- render(environmentFqdn: string, getToken: any, hierarchyData: any, chartOptions: any): void;
1031
+ render(hierarchyData: any, chartOptions: any): void;
1023
1032
  handleKeydown(event: any, ap: any): void;
1024
1033
  private closeContextMenu;
1025
1034
  private stripHits;
@@ -2594,6 +2603,8 @@ declare class PlaybackControls extends Component {
2594
2603
  private playbackInterval;
2595
2604
  private playButton;
2596
2605
  private handleElement;
2606
+ private decreasePlaybackSpeedButton;
2607
+ private increasePlaybackSpeedButton;
2597
2608
  private controlsContainer;
2598
2609
  private track;
2599
2610
  private trackXOffset;
@@ -2678,6 +2689,7 @@ declare abstract class HistoryPlayback extends Component {
2678
2689
  protected renderBase(data: Array<TsqExpression>, chartOptions: any): void;
2679
2690
  pauseAvailabilityUpdates(): void;
2680
2691
  private onSelecTimestamp;
2692
+ protected getMockDataForTimestamp(timeStamp: Date): Array<any>;
2681
2693
  private calcQueryWindow;
2682
2694
  protected drawBase(): void;
2683
2695
  private updateAvailability;
@@ -2686,7 +2698,14 @@ declare abstract class HistoryPlayback extends Component {
2686
2698
  declare class ProcessGraphic extends HistoryPlayback {
2687
2699
  private graphicSrc;
2688
2700
  constructor(renderTarget: Element);
2689
- render(environmentFqdn: string, getToken: () => Promise<string>, graphicSrc: string, data: Array<TsqExpression>, chartOptions: any): void;
2701
+ render(graphicSrc: string, data: Array<TsqExpression>, chartOptions: any): void;
2702
+ private externalOnSelectTimeStamp;
2703
+ onReady: (() => void) | null;
2704
+ private cleanup;
2705
+ private initializeComponent;
2706
+ private showErrorMessage;
2707
+ private onSelectTimestamp;
2708
+ setDataForTimestamp(data: Array<any>): void;
2690
2709
  protected loadResources(): Promise<GraphicInfo>;
2691
2710
  protected draw(): void;
2692
2711
  private getResizedImageDimensions;