• Community Extension
Charting

README (opens in new tab)

ApostropheCMS logo

Charting Extension

This bundle of two extensions adds a new chart data piece-type to upload data sets for charting, as well as a chart widget to allow addition of a number of different chart types to your ApostropheCMS pages.

Installation

To install the module, use the command line to run this command in an Apostrophe project's root directory:

plaintext
npm install @bodonkey/charting-extension

Usage

Add the bundle and individual extensions in the app.js file:

javascript
require('apostrophe')({ shortName: 'my-project', bundle: [ '@bodonkey/charting-extension' ], modules: { 'chart-data': {}, 'chart-widget': {} } });

The chart-data module will add a new piece-type for adding CSV data sets to your project. Data from these sets can then be used with the chart-widget that you can add to any area.