arlas-wui-toolkit / Exports / CalendarTimelineToolComponent
Class: CalendarTimelineToolComponent
A Widget wraps a component from ARLAS-web-components and bind it to its contributor. The component has thus input data to plot. Note: This component is binded to ARLAS-wui configuration
Implements
OnInit
OnDestroy
Table of contents
Constructors
Properties
- boundDates
- calendarTimelineComponent
- climatological
- cursorPosition
- data
- granularity
- hideLeftButton
- hideRightButton
- hoveredDate
- selectedDate
- timelineOverlayRef
- tooltipEvent
- translate
Methods
- emitTooltip
- hideHistogramTooltip
- ngOnDestroy
- ngOnInit
- onSelectedDate
- onTranslate
- plot
- showCalendarTimelineooltip
Constructors
constructor
• new CalendarTimelineToolComponent(arlasOverlayService
)
Parameters
Name | Type |
---|---|
arlasOverlayService |
ArlasOverlayService |
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:55
Properties
boundDates
• boundDates: Date
[] = []
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:44
calendarTimelineComponent
• calendarTimelineComponent: CalendarTimelineComponent
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:53
climatological
• climatological: boolean
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:43
cursorPosition
• cursorPosition: Date
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:46
data
• data: TimelineData
[] = []
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:45
granularity
• granularity: Granularity
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:42
hideLeftButton
• hideLeftButton: boolean
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:47
hideRightButton
• hideRightButton: boolean
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:48
hoveredDate
• hoveredDate: Subject
<TimelineTooltip
>
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:50
selectedDate
• selectedDate: Subject
<TimelineData
>
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:49
timelineOverlayRef
• timelineOverlayRef: ArlasOverlayRef
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:41
tooltipEvent
• tooltipEvent: Subject
<TimelineTooltip
>
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:39
translate
• translate: Subject
<TranslationDirection
>
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:51
Methods
emitTooltip
▸ emitTooltip(tooltip
, e
): void
Parameters
Name | Type |
---|---|
tooltip |
TimelineTooltip |
e |
ElementRef <any > |
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:85
hideHistogramTooltip
▸ hideHistogramTooltip(): void
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:79
ngOnDestroy
▸ ngOnDestroy(): void
Returns
void
Implementation of
OnDestroy.ngOnDestroy
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:63
ngOnInit
▸ ngOnInit(): void
Returns
void
Implementation of
OnInit.ngOnInit
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:60
onSelectedDate
▸ onSelectedDate(data
): void
Parameters
Name | Type |
---|---|
data |
TimelineData |
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:97
onTranslate
▸ onTranslate(td
): void
Parameters
Name | Type |
---|---|
td |
TranslationDirection |
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:101
plot
▸ plot(): void
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:105
showCalendarTimelineooltip
▸ showCalendarTimelineooltip(tooltip
, e
, xOffset
, yOffset
, right
): void
Parameters
Name | Type |
---|---|
tooltip |
TimelineTooltip |
e |
ElementRef <any > |
xOffset |
number |
yOffset |
number |
right |
boolean |
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/calendar-timeline/calendar-timeline.component.ts:70