diff --git a/timeline-chart/src/components/time-graph-state.ts b/timeline-chart/src/components/time-graph-state.ts index 3ddcc0f..f4ebebc 100644 --- a/timeline-chart/src/components/time-graph-state.ts +++ b/timeline-chart/src/components/time-graph-state.ts @@ -62,7 +62,7 @@ export class TimeGraphStateComponent extends TimeGraphComponent { const displayWidth = this._options.displayWidth ? this._options.displayWidth : 0; const labelText = this._model.label; const textPadding = 0.5; - if (displayWidth < 3){ + if (displayWidth < 3) { this.clearLabel(); return; } @@ -84,7 +84,7 @@ export class TimeGraphStateComponent extends TimeGraphComponent { displayLabel = partialLabel.concat("..."); } } - if (displayLabel === ""){ + if (displayLabel === "") { this.clearLabel(); return; }