Package | Description |
---|---|
com.github.gwtd3.api.svg | |
com.github.gwtd3.api.time |
Modifier and Type | Method and Description |
---|---|
Axis |
Axis.ticks(Interval interval,
int steps)
Same as
Axis.ticks(int) but suitable for
TimeScale.ticks(Interval, int) . |
Modifier and Type | Method and Description |
---|---|
Interval |
Time.day()
Days (e.g., February 7, 2012 at 12:00 AM).
|
Interval |
Time.friday()
Friday-based weeks (e.g., February 10, 2012 at 12:00 AM).
|
Interval |
Time.hour()
Factory for interval of Hours (e.g., 01:00 AM). 60 minutes long (36e5
milliseconds).
|
Interval |
Time.minute()
Factory for interval of Minutes (e.g., 01:02:00 AM).
|
Interval |
Time.monday()
Monday-based weeks (e.g., February 6, 2012 at 12:00 AM).
|
Interval |
Time.month()
Months (e.g., February 1, 2012 at 12:00 AM).
|
Interval |
Time.saturday()
Saturday-based weeks (e.g., February 11, 2012 at 12:00 AM).
|
Interval |
Time.second()
Factory for interval of Seconds (e.g., 01:23:45.0000 AM).
|
Interval |
Time.sunday()
Sunday-based weeks (e.g., February 5, 2012 at 12:00 AM).
|
Interval |
Time.thursday()
Thursday-based weeks (e.g., February 9, 2012 at 12:00 AM).
|
Interval |
Time.tuesday()
Tuesday-based weeks (e.g., February 7, 2012 at 12:00 AM).
|
Interval |
Interval.utc()
Returns a corresponding time interval in UTC rather than local time.
|
Interval |
Time.wednesday()
Wednesday-based weeks (e.g., February 8, 2012 at 12:00 AM).
|
Interval |
Time.week()
Alias for
Time.sunday() . |
Interval |
Time.year()
Years (e.g., January 1, 2012 at 12:00 AM).
|
Modifier and Type | Method and Description |
---|---|
TimeScale |
TimeScale.nice(Interval interval)
Extends the domain so that it starts and ends on nice round values as
determined by the specified time interval.
|
TimeScale |
TimeScale.nice(Interval interval,
int step)
Extends the domain so that it starts and ends on nice round values as
determined by the specified time interval and step count.nd optional step
count.
|
<T> Array<T> |
TimeScale.ticks(Interval interval,
int steps)
Returns representative dates from the scale's input domain.
|
Copyright © 2015 gwt-d3. All rights reserved.