Oracle Fusion Middleware Data Visualization Tools Tag Reference for Oracle ADF Faces
11g Release 1 (11.1.1.6.0)

E12418-08

<dvt:timeAxisDateFormat>

timeAxisDateFormat time axis date format


Use the timeAxisDateFormat tag to specify the format for the time axis.

Relationship with other tags

This component must be a child of one of the following components:

Example

The following example shows the XML for a timeAxisDateFormat tag.

   <dvt:graph> 
      <dvt:timeAxisDateFormat yearFormat="YEAR_LONG"/>
   </dvt:graph>
   

Attributes

Name Type Supports EL? Description
id java.lang.String no Specifies the identifier for the component
yearFormat java.lang.String no Specifies the format for year information.

The default value is automatic, and it will change based on the occupancy of the axis labels. Valid values are:

  • AUTOMATIC - The graph engine chooses the most suitable format.
  • NONE - Year is not shown.
  • YEAR_LONG - The number of the year. Example: 2006.
  • YEAR_LONG_WITH_GROUPING_SEPARATOR - The number of the year with a grouping separator. Example: 2,006.
  • YEAR_SHORT - The number of the year without the century indicator. Example: 06 instead of 2006.
  • YEAR_SHORT_WITH_APOSTROPHE - The number of the year without the century indicator but with a comma. Example: '06.
quarterFormat java.lang.String no Specifies the format for quarter information.

The default value is automatic, and it will change based on the occupancy of the axis labels. Valid values are:

  • AUTOMATIC - The graph engine chooses the most suitable format.
  • NONE - Quarter is not shown.
  • QUARTER_LONG - The text and number of the quarter. Example: Quarter 1.
  • QUARTER_SHORT - Abbreviated text and number of the quarter. Example: Qtr 1.
  • QUARTER_SINGLE_LETTER - Single letter and the number of the quarter. Example: Q1.
monthFormat java.lang.String no Specifies the format for month information.

The default value is automatic, and it will change based on the occupancy of the axis labels. Valid values are:

  • AUTOMATIC - The graph engine chooses the most suitable format.
  • NONE - Month is not shown.
  • MONTH_LONG - Full name of the month. Example: January.
  • MONTH_SHORT - Abbreviated name of the month. Example: Jan.
  • MONTH_NUMBER - Number of the month. Example for January: 1.
  • MONTH_SINGLE_LETTER - First letter of the month. Example for January: J.
dayFormat java.lang.String no Specifies the format for day information.

The default value is automatic, and it will change based on the occupancy of the axis labels. Valid values are:

  • AUTOMATIC - The graph engine chooses the most suitable format.
  • NONE - Day is not shown.
  • DAY_OF_MONTH - The date in the month. Example: 29
  • DAY_OF_MONTH_LONG - The date in CJK locale has trailing character
  • DAY_OF_WEEK_NUMBER - The number of the day in the week. Example for Monday: 1.
  • DAY_OF_WEEK - The text for the day of the week. Example: Monday.
  • DAY_OF_WEEK_ABBR - The string abbreviation of the day of the week. Example: Mon.
  • DAY_SINGLE_LETTER - The first letter of the day of the week. Example: M.
timeFormat java.lang.String no Specifies the format for time information.

The default value is automatic, and it will change based on the occupancy of the axis labels. Valid values are:

  • AUTOMATIC - The graph engine chooses the most suitable format.
  • NONE - Time is not shown.
  • HOUR - Hour on a 12-hour clock. Example: 03 pm.
  • HOUR24 - Hour on a 24-hour clock. Example: 15.
  • HOUR_MINUTE - Hour and minute on a 12-hour clock. Example: 03:20 pm.
  • HOUR24_MINUTE - Hour and minute on a 24-hour clock. Example: 15:20.
  • HOUR_MINUTE_SECOND - Hour, minute, second on a 12-hour clock. Example: 03:20:05 pm.
  • HOUR24_MINUTE_SECOND - Hour, minute, second on a 24-hour clock. Example: 15:20:05.