# Series Titles

## Series Titles Overview

Series Titles are the names of the series that go in legend area

<figure><img src="/files/C47JK8zivLS87xNjXuAH" alt=""><figcaption></figcaption></figure>

The title of the series are the same as the column that defines the series. If you wish to change the title of your series, you change the name of the column in SQL:

```sql
column as MyNewName
```

## Underscores to Spaces

If there are underscores in the column name, they will be converted to spaces

```sql
-- @chart: Line
-- @title: Series Title Spacing
-- @subtitle: Spacing on series titles is determined by underscores
-- @formats: currency
SELECT
	TRUNC(date_closed, 'MONTH') as Month,
	sum(amount) as total_sales_amount
FROM sales
GROUP BY TRUNC(date_closed, 'MONTH')
ORDER BY TRUNC(date_closed, 'MONTH') ASC;
```

<figure><img src="/files/ohM17AOfhRsjCOFl01Zn" alt=""><figcaption></figcaption></figure>

## Examples

<table data-card-size="large" data-view="cards"><thead><tr><th data-card-target data-type="content-ref"></th><th data-hidden></th><th data-hidden></th><th data-hidden></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="/pages/TrmnxOWEJwPgBgA1C5c4#line-with-series-title-spacing">/pages/TrmnxOWEJwPgBgA1C5c4#line-with-series-title-spacing</a></td><td></td><td></td><td></td><td><a href="/files/ohM17AOfhRsjCOFl01Zn">/files/ohM17AOfhRsjCOFl01Zn</a></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chartsql.com/chartsql-studio/creating-charts/series-titles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
