# Installing the Charting Service

The Charting Service provides intraday charting data.

The Charting Service is provided as a Caplin Platform Blade and is downloaded separately to Caplin Transformer.

## Requirements

The Charting Service 7 has the following requirements:

* Transformer 7
* An intraday data feed:
  * A custom pricing adapter (see [Java DataSource API](https://docs.caplin.com/developer/api/datasource_java/latest/))
  * [Caplin TREP Adapter](../../../trep-adapter/index.md)
* (Optional) An historical data feed:
  * A custom charting adapter (see [Java Charting API](https://docs.caplin.com/developer/api/charting_java/latest/))
  * [Caplin TREP Adapter](../../../trep-adapter/index.md) and Transformer’s TS1 Decoder Service module (supplied separately)

    **📌 NOTE**\
    Transformer’s TS1 Decoder Service module translates historical data supplied by the [Caplin TREP Adapter](../../../trep-adapter/index.md) to the same format supplied by the [Java Charting API](https://docs.caplin.com/developer/api/charting_java/latest/) and recognised by the Charting Service.

## Deploying the Charting Service

Follow the steps below:

1. Deploy the Charting Service blade. See [Deploy and upgrade blades](../deployment-framework/cdf-deploy-a-caplin-supplied-blade.md).
2. If want to use a [Caplin TREP Adapter](../../../trep-adapter/index.md) as a source of historical pricing data for the Charting Service, deploy the TS1 Decoder Service blade. See [Deploy and upgrade blades](../deployment-framework/cdf-deploy-a-caplin-supplied-blade.md).
3. Grant the Transformer user account write permission to the Charting Service’s cached data directory: `servers/Transformer/cache`.

   **💡 TIP**\
   To change the cache directory location, override the [cache-directory](transformer-cache-and-validate-intraday-data.md#cache-directory) configuration item in the file `global_config/overrides/ChartingService/Transformer/etc/charting.conf`.

---

**See also:**

* [Charting configuration](transformer-charting-blade-configuration-summary.md)
