Hello,
Im trying to change a color of single bar (Im using BarChart3D).
I know how to change a color of section, but this is not my goal.
for example if i have 3 categories (1,2,3), with 5 sections in each (1,2,3,4,5), and i want to change color of one bar only from category "1"; bar "2" (this which belongs to section "2").
Thx in advance!
Changing a color of a single bar (not a section color)
-
- Posts: 844
- Joined: Fri Oct 13, 2006 9:29 pm
- Location: Sunnyvale, CA
There are several examples asked and answered similar to this in the format. Create your own custom renderer that extends from your basic renderer and override the getItemPaint or getSeriesPaint methods depending upon your exact needs. Do a search for custom colors/renderers, and you should find several examples.
Richard West
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA