ApexCharts LogoAPEXCHARTS
  • Projects
  • Demos
  • Docs
  • Pricing
  • Embedded Analytics
  • Get Started
  • Chart Essentials
  • Chart Types
  • Design
  • Integrations
  • How to
  • Options (Reference)
  • Methods

labels

Configuration Structure

labels: string[]

#labels

Labels for the x-axis in non-axis charts (pie, donut, radialBar). In axis charts, labels can be set using xaxis.categories or as the first element in the series data array.

labels: ['Team A', 'Team B', 'Team C', 'Team D', 'Team E']