DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements.charting.axes
Class DateTimeYAxis

java.lang.Object
  extended by com.cete.dynamicpdf.pageelements.charting.Axis
      extended by com.cete.dynamicpdf.pageelements.charting.axes.YAxis
          extended by com.cete.dynamicpdf.pageelements.charting.axes.DateTimeYAxis

public class DateTimeYAxis
extends YAxis

This class can be used t oplace datetime y-axis on the plot area.

Licensing:
This is a DynamicPDF Generator Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:

View Example


Constructor Summary
DateTimeYAxis()
          Initializes a new instance of DateTimeYAxis class.
DateTimeYAxis(float offset)
          Initializes a new instance of DateTimeYAxis class.
 
Method Summary
 java.util.Calendar calculateMaxDate()
          Gets the calculated maximum date.
 java.util.Calendar calculateMinDate()
          Gets the calculated minimum date.
 DateTimeType getDateTimeType()
          Gets DateTimeType enumeration that specifies the datetime-type of the dateTime y-axis.
 int getInterval()
          Gets the interval of the axis.
 DateTimeYAxisLabelList getLabels()
          Gets the DateTimeYAxisLabelList object contained in the dateTime y-axis.
 java.util.Calendar getMax()
          Gets the maximum date of the axis.
 java.util.Calendar getMin()
          Gets the minimum date of the axis.
 void setDateTimeType(DateTimeType dateTimeType)
          Sets DateTimeType enumeration that specifies the date time type of the dateTime y-axis.
 void setInterval(int interval)
          Sets the interval of the axis.
 void setMax(java.util.Calendar maxDate)
          Sets the Calendar object to use for the maximum date of the dateTime y-axis.
 void setMin(java.util.Calendar minDate)
          Sets the Calendar object to use for the minimum date of the dateTime y-axis.
 
Methods inherited from class com.cete.dynamicpdf.pageelements.charting.axes.YAxis
getAnchorType, getLabelPosition, getMajorGridLines, getMajorTickMarks, getMinorGridLines, getMinorTickMarks, getTitlePosition, getTitles, setAnchorType, setLabelPosition, setMajorGridLines, setMajorTickMarks, setMinorGridLines, setMinorTickMarks, setTitlePosition
 
Methods inherited from class com.cete.dynamicpdf.pageelements.charting.Axis
getLabelFormat, getLabelOffset, getLineColor, getLineStyle, getLineWidth, getOffset, isVisible, setLabelFormat, setLabelOffset, setLineColor, setLineStyle, setLineWidth, setOffset, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateTimeYAxis

public DateTimeYAxis()
Initializes a new instance of DateTimeYAxis class.


DateTimeYAxis

public DateTimeYAxis(float offset)
Initializes a new instance of DateTimeYAxis class.

Parameters:
offset - Offset from the border of plot area.
See Also:
DateTimeYAxis
Method Detail

getMin

public java.util.Calendar getMin()
Gets the minimum date of the axis.

Returns:
Calendar The minimum date of the axis.
See Also:
Calendar

setMin

public void setMin(java.util.Calendar minDate)
Sets the Calendar object to use for the minimum date of the dateTime y-axis.

Parameters:
minDate - Calendar object to use for the minimum date of the dateTime y-axis.
See Also:
Calendar

getMax

public java.util.Calendar getMax()
Gets the maximum date of the axis.

Returns:
Calendar The maximum date of the axis.
See Also:
Calendar

setMax

public void setMax(java.util.Calendar maxDate)
Sets the Calendar object to use for the maximum date of the dateTime y-axis.

Parameters:
maxDate - Calendar object to use for the maximum date of the dateTime y-axis.
See Also:
Calendar

getInterval

public int getInterval()
Gets the interval of the axis.

Returns:
the integer value specifying the interval of the axis.

setInterval

public void setInterval(int interval)
Sets the interval of the axis.

Parameters:
interval - integer value used to set interval of the axis.

getDateTimeType

public DateTimeType getDateTimeType()
Gets DateTimeType enumeration that specifies the datetime-type of the dateTime y-axis.

Returns:
the DateTimeType enumeration that specifies the datetime-type of the datetime y-axis.
See Also:
DateTimeType

setDateTimeType

public void setDateTimeType(DateTimeType dateTimeType)
Sets DateTimeType enumeration that specifies the date time type of the dateTime y-axis.

Parameters:
dateTimeType - the DateTimeType enumeration that specifies the datetime-type of the datetime y-axis.
See Also:
DateTimeType

getLabels

public DateTimeYAxisLabelList getLabels()
Gets the DateTimeYAxisLabelList object contained in the dateTime y-axis.

Returns:
the labels list.
See Also:
DateTimeYAxisLabelList

calculateMinDate

public java.util.Calendar calculateMinDate()
Gets the calculated minimum date.

Returns:
the minimum data.

calculateMaxDate

public java.util.Calendar calculateMaxDate()
Gets the calculated maximum date.

Returns:
the maximum date.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software