Skip to content

Commit

Permalink
remove some unneeded commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
SlicedSilver committed Aug 17, 2023
1 parent fd20a2b commit 193956a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions src/api/series-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ export class SeriesApi<

// actually they can't exist separately
if (dataFirstBarInRange !== null && dataLastBarInRange !== null) {
// result.from = dataFirstBarInRange.time.businessDay || dataFirstBarInRange.time.timestamp;
// result.to = dataLastBarInRange.time.businessDay || dataLastBarInRange.time.timestamp;
result.from = dataFirstBarInRange.originalTime as HorzScaleItem;
result.to = dataLastBarInRange.originalTime as HorzScaleItem;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { TickMarkFormatter } from './horz-scale-behavior-time';
import { Time } from './types';

/**
* Extended time scale options for time-base horz scale
* Extended time scale options for time-based horizontal scale
*/
export interface TimeScaleOptions extends HorzScaleOptions {
/**
Expand Down
1 change: 0 additions & 1 deletion src/model/time-scale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { DeepPartial, isInteger, merge } from '../helpers/strict-type-checks';

import { ChartModel } from './chart-model';
import { Coordinate } from './coordinate';
// import { defaultTickMarkFormatter } from './default-tick-mark-formatter';
import { FormattedLabelsCache } from './formatted-labels-cache';
import { IHorzScaleBehavior, InternalHorzScaleItem, InternalHorzScaleItemKey } from './ihorz-scale-behavior';
import { LocalizationOptions } from './localization-options';
Expand Down

0 comments on commit 193956a

Please sign in to comment.