# Customization precedence

The library offers multiple approaches to modify the chart's appearance and behavior.
This article lists these approaches and demonstrates an example to clarify their order of precedence.

## Approaches

The table below provides an overview of customization methods/properties and their precedence.

When multiple methods define the same entity, the one with higher precedence will be applied.
Here, a lower number means higher precedence, for example:

- 1 — takes effect first, meaning it will override other approaches
- 8 — takes effect only if no higher-precedence method/property overrides the same entity

## Example

You can check out the following example to understand how these approaches override each other.
Change the flags' values provided at the beginning of the JavaScript file (lines 1-7) to easily manage the example.

The coloring of the candle bodies will vary based on the approach applied.
Below, you will find the colors associated with each method/property.

- `applyOverrides` → orange
- `load` → blue
- `saved_data` → red
- `settings_overrides` → purple
- `settings_adapter` → green
- `localStorage` → black
- `overrides` → yellow

See the Pen 
  Chart customization order by TradingView (@tradingview)
  on CodePen.

---

## Sitemap

- [All documentation pages](https://charting-library-docs.xstaging.tv/llms.txt)
- [Full page map with headings](https://charting-library-docs.xstaging.tv/docs_map.md)
