Custom Ordinal Palette
✓ Published0🌍 Public
GGordonSmith
Last edited Feb 4, 2016
Created on Feb 4, 2016
This pie chart uses a custom ordinal palette from the HPCC Systems visualization library to assign specific colors to categories. The example creates a palette named “RBI” with four colors, then explicitly maps each country to a color by calling the palette function in order. The Pie chart widget, configured with a paletteID, renders data for England, Wales, Scotland, and Ireland using these defined colors. The code relies on HPCC’s `Pie` and `Palette` APIs for chart creation and color assignment.
AI-generated descriptionHPCC Palettes