Skip to content
amCharts Version 3 Documentation
Back to amcharts.com Learn more about amCharts 5
Documentation
  • amCharts 5Current version
  • amCharts 4Legacy version
  • amCharts 3Deprecated
  • Editor 4Current version
  • Overview
  • Getting Started
    • Your first chart with amCharts
    • Your first Stock chart
    • Your first amMap
    • All “Getting Started” Tutorials
  • Tutorials
    • JavaScript Charts
      • Column & Bar
      • Line & Area
      • Pie & Funnel
      • XY & Bubble
      • Gauges & Other
    • JavaScript Stock Chart
    • JavaScript Maps
    • External Data
    • Hacking
    • Exporting
    • Live Editor
    • WordPress
  • Reference
    • JavaScript Charts
    • JavaScript Stock Chart
    • JavaScript Maps
  1. V3
  2. Tutorials & Demos
  3. JavaScript Charts
  4. Column & Bar

Formatting category axis date labels according to user’s locale settings

This demo uses category axis' labelFunction and cursor's categoryBalloonFunction to automatically format dates according to user's locale setting.

Both of the above settings define reference to custom JavaScript function, which in turn uses Date object's toLocaleDateString() method to format date labels.

Posted in Column & Bar, JavaScript Charts, Line & AreaTagged axis, demo code, locale, tip
©2026 amCharts.com