DynamicPDF by ceTe Software

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

java.lang.Object
  extended by com.cete.dynamicpdf.pageelements.charting.Axis
      extended by com.cete.dynamicpdf.pageelements.charting.axes.XAxis
          extended by com.cete.dynamicpdf.pageelements.charting.axes.DateTimeXAxis

public class DateTimeXAxis
extends XAxis

This class can be used to place date-time x-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
DateTimeXAxis()
          Initializes a new instance of DateTimeXAxis class.
DateTimeXAxis(float offset)
          Initializes a new instance of DateTimeXAxis class.
 
Method Summary
 DateTimeType getDateTimeType()
          Gets DateTimeType enumeration that specifies the datetime-type of the datetime x-axis.
 int getInterval()
          Gets the interval of the axis.
 DateTimeXAxisLabelList getLabels()
          Gets ths DateTimeXAxisLabelList object contained in the datetime x-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 x-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 x-axis.
 void setMin(java.util.Calendar minDate)
          Sets the Calendar object to use for the minimum date of the datetime x-axis.
 
Methods inherited from class com.cete.dynamicpdf.pageelements.charting.axes.XAxis
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

DateTimeXAxis

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


DateTimeXAxis

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

Parameters:
offset - Offset from the border of plot area.
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 x-axis.

Parameters:
minDate - Calendar object to set the minimum date of the datetime x-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 x-axis.

Parameters:
maxDate - calendar object use for the maximum date of the datetime x-axis.
See Also:
Calendar

getInterval

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

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

setInterval

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

Parameters:
interval - int used to set interval of the axis.

getDateTimeType

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

Returns:
the DateTimeType enumeration that specifies the date time type of the datetime x-axis.
See Also:
DateTimeType

setDateTimeType

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

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

getLabels

public DateTimeXAxisLabelList getLabels()
Gets ths DateTimeXAxisLabelList object contained in the datetime x-axis.

Returns:
the labels list.
See Also:
DateTimeXAxisLabelList

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software