Back to Ag Grid

AG Charts — Enterprise vs Community Features

external/ag-shared/prompts/skills/example/ag-charts/enterprise-features.md

100.0.02.3 KB
Original Source

AG Charts — Enterprise vs Community Features

Use this to determine whether an example needs the enterprise or community package.

Feature Matrix

CategoryEnterprise-onlyCommunity
Seriesbox-plot, candlestick, ohlc, heatmap, range-area, range-bar, waterfall, funnel, cone-funnel, nightingale, radar-area, radar-line, radial-bar, radial-column, map-shape, map-line, map-marker, pyramid, linear-gauge, radial-gauge, sunburst, treemap, chord, sankeybar, line, area, scatter, bubble, pie, donut, histogram
Axesordinal-time, angle-category, angle-number, radius-category, radius-numbernumber, log, time, unit-time, category, grouped-category
Pluginsannotations, zoom, navigator, scrollbar, crosshair, animation, context-menu, toolbar, sync, ranges, gradient-legend, error-bars, data-sourcelegend, locale
Presetsfinancial charts (price-volume), gaugesparkline

Rule of thumb: If it's a specialised chart type (financial, statistical, hierarchical, geographic) or an interactive plugin (zoom, annotations, navigator), it's enterprise.

Import Patterns

Enterprise — Single import (re-exports all community modules)

typescript
import {
    AgCartesianChartOptions,
    AgCharts,
    AnimationModule,
    BarSeriesModule,
    ModuleRegistry,
} from 'ag-charts-enterprise';

Community

typescript
import {
    AgCartesianChartOptions,
    AgCharts,
    BarSeriesModule,
    ModuleRegistry,
} from 'ag-charts-community';

Never mix imports from both ag-charts-community and ag-charts-enterprise.

UMD / CDN (Plunker context)

Community

html
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/ag-charts-community.js"></script>

Enterprise

html
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/ag-charts-enterprise.js"></script>

The community bundle will silently skip enterprise features — no errors, just missing functionality.

Decision Logic

  1. Does the example use any enterprise-only series type? → Enterprise
  2. Does the example use any enterprise axis (ordinal-time, angle-, radius-)? → Enterprise
  3. Does the example use any enterprise plugin (zoom, navigator, annotations, etc.)? → Enterprise
  4. Otherwise → Community