Files
Cactidocumentation/Color-Templates.md
T
Thomas Vincent 5fba760f72 docs(templates): [1.2.x] correct device, data source, graph, template and report pages against the source (#267)
* docs(templates): [1.2.x] correct device, automation and tree pages against the source

Align field labels, rule matching and tree rule behavior with the 1.2.x source.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs(templates): [1.2.x] correct data source, data input, data query and variable pages against the source

Align special type codes, XML keys, example values and variable lists with the 1.2.x source.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs(templates): [1.2.x] correct template, graph, CDEF and aggregate pages against the source

Align field labels, special data source names and aggregate graph type behavior with the 1.2.x source.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs(templates): [1.2.x] correct report pages against the source

Align report column and field labels with the 1.2.x source.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

---------

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
2026-11-23 15:11:51 -05:00

38 lines
1.7 KiB
Markdown

# Color Templates
**Color Templates** define a list of Colors to be used for **Aggregate Graphs**
in Cacti. As you add **Graphs** to an **Aggregate Graph**, you need to
distinguish one **Graph** from the next within the **Aggregate Graph**. These
**Color Templates** are a list of colors that will be looped through in Round
Robin fashion to render the **Aggregate Graph**.
Color selection rotates across member graphs for each item to which a color
template is assigned. It uses the member-graph index modulo the number of
colors; it does not advance once for every graph item or legend entry.
For example, assign an eight-color template to one plotted series shared by 16
member graphs. Each color is selected twice for that series. Additional series
can have their own assigned color templates, while uncolored legend items do
not add steps to this rotation.
Below, you can see the four standard **Color Templates**, you can see that you
have the ability to either *Delete* or *Duplicate* the **Color Templates**. As
with other Cacti objects, you will not be allowed to *Delete* a **Color
Template** in use.
![Color Templates](images/color-templates.png)
In the image below, you can see the **Color Template** edit screen. This simply
screen allows you to add, remove and re-order colors in the list.
![Color Templates Edit](images/color-templates-edit1.png)
Shown in the image below, only Cacti **Colors** are allowed to be selected for
Aggregate **Color Templates**. The **Color** drop down can by typed into if you
wish to search through the list of more than 400 legacy and *Named Colors*.
![Color Templates Item Edit](images/color-templates-edit2.png)
---
Copyright (c) 2004-2026 The Cacti Group