Coloring Histogram Bars (Green for Up, Red for Down)
Author: Sammy_G
Creation Date: 12/22/2019 2:58 AM
profile picture

Sammy_G

#1
Hi,
Is there a way to color a Histogram such that when its value is rising the bars are colored, say, green and when its value is falling they get colored red? A search of the forum didn't yield a result.
profile picture

Eugene

#2
Hi,

Hint: Besides the forum search there's trusty QuickRef (F12 key, Cosmetic Chart section). The method to accomplish is called SetSeriesBarColor and comes with a code sample that does what you request. Hope this helps.
profile picture

Eugene

#3
P.S. FYI, this is not the first time you start two topics with completely identical content (and I delete the dupe). Something's not quite right with your browser.
profile picture

Sammy_G

#4
That worked, thanks! Hadn't used that method in a while so it had slipped from memory.

P.S. I only started 1 topic...but the mouse has been having some issues.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).