arlas-d3 / Exports / CircleBuckets
Class: CircleBuckets
Hierarchy
↳ CircleBuckets
Table of contents
Constructors
Properties
Methods
- getTimelineData
- onClick
- plot
- remove
- round
- setAxis
- setClimatological
- setColors
- setData
- setDimensions
- setGranularity
Constructors
constructor
• new CircleBuckets(context
)
Parameters
Name | Type |
---|---|
context |
Selection <SVGGElement , TimelineData , BaseType , TimelineData > |
Overrides
Defined in
src/calendar-timeline/lib/classes/buckets/circle.buckets.ts:25
Properties
axis
• Protected
axis: Axis
Inherited from
Defined in
src/calendar-timeline/lib/classes/temporal.object.ts:26
climatological
• Protected
climatological: boolean
Inherited from
Defined in
src/calendar-timeline/lib/classes/temporal.object.ts:28
colors
• Protected
colors: DrawableObjectColors
Inherited from
Defined in
src/calendar-timeline/lib/classes/temporal.object.ts:29
context
• Protected
context: Selection
<SVGGElement
, TimelineData
, BaseType
, TimelineData
>
the context is the parent element to which the current element is appended
Inherited from
Defined in
src/calendar-timeline/lib/classes/drawable.object.ts:27
data
• Protected
data: TimelineData
[] = []
Inherited from
Defined in
src/calendar-timeline/lib/classes/buckets/buckets.ts:28
dates
• Protected
dates: Date
[] = []
Inherited from
Defined in
src/calendar-timeline/lib/classes/buckets/buckets.ts:29
dimensions
• Protected
dimensions: Dimensions
Inherited from
Defined in
src/calendar-timeline/lib/classes/drawable.object.ts:28
element
• Protected
element: Selection
<SVGGElement
, TimelineData
, BaseType
, TimelineData
>
the element
contains the drawing of this current object
Inherited from
Defined in
src/calendar-timeline/lib/classes/drawable.object.ts:25
granularity
• Protected
granularity: Granularity
Inherited from
Defined in
src/calendar-timeline/lib/classes/temporal.object.ts:27
Methods
getTimelineData
▸ getTimelineData(date
): TimelineData
Parameters
Name | Type |
---|---|
date |
Date |
Returns
Inherited from
Defined in
src/calendar-timeline/lib/classes/buckets/buckets.ts:54
onClick
▸ onClick(e
): void
Parameters
Name | Type |
---|---|
e |
any |
Returns
void
Inherited from
Defined in
src/calendar-timeline/lib/classes/drawable.object.ts:60
plot
▸ plot(): void
Returns
void
Overrides
Defined in
src/calendar-timeline/lib/classes/buckets/circle.buckets.ts:29
remove
▸ remove(): void
Returns
void
Inherited from
Defined in
src/calendar-timeline/lib/classes/drawable.object.ts:45
round
▸ Protected
round(d
): Date
Parameters
Name | Type |
---|---|
d |
Date |
Returns
Date
Inherited from
Defined in
src/calendar-timeline/lib/classes/temporal.object.ts:64
setAxis
▸ setAxis(axis
): TemporalObject
Parameters
Name | Type |
---|---|
axis |
Axis |
Returns
TemporalObject
Inherited from
Defined in
src/calendar-timeline/lib/classes/temporal.object.ts:31
setClimatological
▸ setClimatological(climatological
): TemporalObject
Parameters
Name | Type |
---|---|
climatological |
boolean |
Returns
TemporalObject
Inherited from
Defined in
src/calendar-timeline/lib/classes/temporal.object.ts:42
setColors
▸ Protected
setColors(granularity
): TemporalObject
Parameters
Name | Type |
---|---|
granularity |
Granularity |
Returns
TemporalObject
Inherited from
Defined in
src/calendar-timeline/lib/classes/temporal.object.ts:47
setData
▸ setData(data
): Buckets
Parameters
Name | Type |
---|---|
data |
TimelineData [] |
Returns
Inherited from
Defined in
src/calendar-timeline/lib/classes/buckets/buckets.ts:35
setDimensions
▸ setDimensions(dimensions
): DrawableObject
Parameters
Name | Type |
---|---|
dimensions |
Dimensions |
Returns
Inherited from
Defined in
src/calendar-timeline/lib/classes/drawable.object.ts:52
setGranularity
▸ setGranularity(granularity
): TemporalObject
Parameters
Name | Type |
---|---|
granularity |
Granularity |
Returns
TemporalObject
Inherited from
Defined in
src/calendar-timeline/lib/classes/temporal.object.ts:36