I am trying to find a code snippet that would color the bars in linear gradient. For example , the equivalent of the BarBrush = Brushes.Green in the following example assuming the gradient is from Green to White :
If (CCI(14)[0] > 0) BarBrush = Brushes.Green;
Appreciate any samples or conversion to achieve the above condition for Linear Gradient (Green to White in Horizontal direction - bar thickness).
Many Thanks.
Comment