Uses of Class
org.jfree.data.time.TimePeriodAnchor
Package
Description
Interfaces and classes for time-related data.
Classes for representing financial data in open-high-low-close form.
-
Uses of TimePeriodAnchor in org.jfree.data.time
Modifier and TypeFieldDescriptionstatic final TimePeriodAnchor
TimePeriodAnchor.END
End of period.static final TimePeriodAnchor
TimePeriodAnchor.MIDDLE
Middle of period.static final TimePeriodAnchor
TimePeriodAnchor.START
Start of period.Modifier and TypeMethodDescriptionTimePeriodValuesCollection.getXPosition()
Returns the position of the X value within each time period.TimeSeriesCollection.getXPosition()
Returns the position within each time period that is used for the X value when the collection is used as anXYDataset
.TimeTableXYDataset.getXPosition()
Returns the position within each time period that is used for the X value.Modifier and TypeMethodDescriptionTimeSeries.findValueRange
(Range xRange, TimePeriodAnchor xAnchor, Calendar calendar) Finds the range of y-values that fall within the specified range of x-values (where the x-values are interpreted as milliseconds since the epoch and converted to time periods using the specified calendar).TimeSeries.findValueRange
(Range xRange, TimePeriodAnchor xAnchor, TimeZone zone) Finds the range of y-values that fall within the specified range of x-values (where the x-values are interpreted as milliseconds since the epoch and converted to time periods using the specified timezone).long
RegularTimePeriod.getMillisecond
(TimePeriodAnchor anchor, Calendar calendar) Returns the millisecond (relative to the epoch) corresponding to the specifiedanchor
using the suppliedcalendar
(which incorporates a time zone).void
TimePeriodValuesCollection.setXPosition
(TimePeriodAnchor position) Sets the position of the x axis within each time period.void
TimeSeriesCollection.setXPosition
(TimePeriodAnchor anchor) Sets the position within each time period that is used for the X values when the collection is used as anXYDataset
, then sends aDatasetChangeEvent
is sent to all registered listeners.void
TimeTableXYDataset.setXPosition
(TimePeriodAnchor anchor) Sets the position within each time period that is used for the X values, then sends aDatasetChangeEvent
to all registered listeners. -
Uses of TimePeriodAnchor in org.jfree.data.time.ohlc
Modifier and TypeMethodDescriptionOHLCSeriesCollection.getXPosition()
Returns the position within each time period that is used for the X value when the collection is used as anXYDataset
.Modifier and TypeMethodDescriptionvoid
OHLCSeriesCollection.setXPosition
(TimePeriodAnchor anchor) Sets the position within each time period that is used for the X values when the collection is used as anXYDataset
, then sends aDatasetChangeEvent
is sent to all registered listeners.