---
title: "Install Sparklines"
enterprise: true
framework: vue
version: "36.1.0"
---

# Install Sparklines

This section shows how to install Sparklines.

Sparklines are an enterprise grid feature powered by AG Charts. You can use either AG Charts Community or AG Charts Enterprise, depending on your setup.

The Sparklines module can be imported as follows:

#### Using AG Charts Community

```ts
// Import minimal modules required for sparklines
import { ModuleRegistry } from "ag-grid-community";
import { SparklinesModule } from "ag-grid-enterprise";
import { AgChartsCommunityModule } from 'ag-charts-community';

ModuleRegistry.registerModules([
    SparklinesModule.with(AgChartsCommunityModule)
]);
```

#### Using AG Charts Enterprise

```ts
// Import minimal modules required for sparklines
import { ModuleRegistry } from "ag-grid-community";
import { SparklinesModule } from "ag-grid-enterprise";
import { AgChartsEnterpriseModule } from 'ag-charts-enterprise';

ModuleRegistry.registerModules([
    SparklinesModule.with(AgChartsEnterpriseModule)
]);
```
