diff --git a/projects/common/src/time/interval-duration.service.ts b/projects/common/src/time/interval-duration.service.ts index c54f3bff5..2ca2eafc6 100644 --- a/projects/common/src/time/interval-duration.service.ts +++ b/projects/common/src/time/interval-duration.service.ts @@ -69,7 +69,7 @@ export class IntervalDurationService { return durations[0]; } - private getAvailableIntervals(timeRange: TimeRange, minDataPoints: number, maxDataPoints: number): TimeDuration[] { + public getAvailableIntervals(timeRange: TimeRange, minDataPoints: number, maxDataPoints: number): TimeDuration[] { const timeRangeDuration = this.timeDurationService.getTimeRangeDuration(timeRange); const availableIntervals = IntervalDurationService.PREDEFINED_INTERVALS.filter(duration => diff --git a/projects/components/src/public-api.ts b/projects/components/src/public-api.ts index 6c3461e26..fe7b02858 100644 --- a/projects/components/src/public-api.ts +++ b/projects/components/src/public-api.ts @@ -395,6 +395,7 @@ export * from './time-picker/time-picker.module'; // Time Range export * from './time-range/time-range.component'; export * from './time-range/time-range.module'; +export * from './time-range/predefined-time-duration.service'; // Titled Content export {