Custom colors for Pie chart
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi All,
Can anyone help me figure out how to add custom colors to Pie chart?
I have a predefined set of colors which needs to be used however, I am unable to set the colors in the Pie chart format area.
Can anyone help me with this.
Thanks,
Megha
- Labels:
- Topic of Interest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @meghasaraf
You can edit the RuntimeData settings file to add your own custom colour palettes in C:\Program Files\Alteryx\bin\RuntimeData\HtmlAssets\Charting.
You can follow @kelly_gilbert's excellent post here: https://community.alteryx.com/t5/Alteryx-Designer-Discussions/How-to-customize-colors-in-an-Interact...
Note that the file you are looking to edit is now called ayx-chart-editor-tool.bundle
You will find the code line:
t.BREWER=d;var f=[i("D3"),i("G10"),i("T10"),i("Alphabet"),i("Dark24"),i("Light24"),i("test")] (my addition added in red)
You can then insert your own palette configurations (I have chosen the HEX code of three colours highlighted below):
You see these then appear in your list:
Please ensure you have the correct admin permissions to edit the file, and that you take a backup of the file before editing
Thanks!
David Thorpe
Sales Engineering