![]() | SAIL Design System guidance available for Charts
Every chart should tell a story. What does yours say? Learn how to build rich reporting dashboards that provide users with visualizations of their data. |
FunctionCopy link to clipboard
a!colorSchemeCustom( Colors )
A custom list of colors to apply to any chart.
See also: Chart Color Schemes
ParametersCopy link to clipboard
Name | Keyword | Types | Description |
---|---|---|---|
Colors |
|
Text |
List of colors to use in the custom color scheme. Valid values: any valid hex colors. Maximum colors allowed: 12. |
Usage considerationsCopy link to clipboard
Series colorsCopy link to clipboard
- If there are more series than colors provided, the colors enumerate through the list again from the beginning.
- Users can still configure the colors of individual chart series while using a custom color scheme. Any series configurations will take precedence over automatically assigned color scheme colors.
ExamplesCopy link to clipboard
To experiment with examples, copy and paste the expression into an interface object.
Use the interactive editor below to test out your code:
Feature compatibilityCopy link to clipboard
The table below lists this component's compatibility with various features in Appian.
Feature | Compatibility | Note |
---|---|---|
Portals | Compatible | |
Offline Mobile | Compatible | |
Sync-Time Custom Record Fields | Incompatible | |
Real-Time Custom Record Fields | Incompatible | Custom record fields that evaluate in real time must be configured using one or more Custom Field functions. |
Process Reports | Incompatible | Cannot be used to configure a process report. |
Process Events | Incompatible | Cannot be used to configure a process event node, such as a start event or timer event. |
Process Autoscaling | Compatible |
Related PatternsCopy link to clipboard
The following patterns include usage of the Chart Custom Color Scheme Component.
- KPI Patterns (Formatting): The Key Performance Indicator (KPI) patterns provide a common style and format for displaying important performance measures.