Flash charts Flex charts WPF & Silverlight charts Flash maps
amCharts Real flex components *
Home Home
Examples Examples
Download Download
Buy Buy
FAQ FAQ
Documentation Documentation
Support forum Support forum

Date based category axis

Date-time based category axis
Category axis of Cartesian chart component can accept Date objects instead of strings. The chart will parse these dates and place data points at irregular intervals (if your data has gaps). The above chart illustrates this: the supplied data doesn't have entries on weekends. The chart shows gaps instead of placing the columns next to each other. Empty data points were not added to the data, the chart handles this automatically. As date object can contain exact date and time up to milliseconds, the chart can display yearly, monthly, daily, hourly data, it can also contain minutes, seconds and milliseconds.

Another great feature of date-based category axis is that it displays axis labels in a very friendly way. Differently from regular category axis, which displays every X label, date-based category axis uses intelligent algorithm which places labels at the beginning of the year, month, week or day; every 6 or 12 hours, 30 or 15 minutes; etc.

Candlestick and multiple value axes are other examples with date-based data utilizing this feature.

view mxml source


amCharts Bundle Examples

  • Balloon with rounded corners
  • Bars with gradient fills
  • Bubble chart
  • Bulls eye chart
  • Candlestick and OHLC
  • Chart with legend
  • Chart with multiple value axes
  • Custom bullets
  • Data binding
  • Date based category axis
  • Guides as Areas
  • Negative colors
  • Polar chart
  • Radar chart
  • Regular category axis
  • Rotated axis labels
  • Save chart as image
  • Scatter chart
  • Scrollable and zoomable chart
  • Stacked 3D column chart
  • Stacked area chart
  • Stacked bar chart
  • Simple pie chart
  • amStock Examples

  • Stock chart example
  • Adding and removing stock panels
  • Stock events
  • © amCharts | About us | Contact and feedback: info@amcharts.com Subscribe to amcharts news feed by e-mail or RSS reader Follow amCharts on Twitter * Not just a wrapper ;)