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

Automatically reverse category axis on non-date serial chart

This demo uses global function AmCharts.addInitHandler() to execute custom code before the chart is initialized. It then checks if reversed is set to true in category axis config and reverses the categories if it is.

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