Skip to main content
May 31, 2025
Question

Colors in Column Chart

  • May 31, 2025
  • 1 reply
  • 0 views

Hi Team, I'm currently stuck at a point and would appreciate your input. I need to display different colors for different countries in a column chart. Below is the database structure I'm working with:

I grouped the data by countryId, and I want to display different colors for different ranges of country IDs in a column chart. For example:

  • Country IDs 1, 2, 3, and 4 should be shown in blue
  • Country IDs 5, 6, 7, and 8 in yellow
  • Country IDs 9 and 10 in another color

These colors are just examples. If this approach is feasible, I will apply it to the actual requirement.

1 reply

June 2, 2025

This post duplicates  [mention:728202ac27b8437abe83009760c20f27:46448885d0e64133bbfbf0cd7b0fd6f7].   More detailed answer in that ticket, but you can manage your colors using multiple a!chartSeries()