ArrowAnnotations color

Jun 11, 2014 at 12:33 PM
Hello) Can anybody help me? I' m using oxyPlot for my wpf project, and i'm trying to display a lot of arrows with different colors.
  var arrow = new ArrowAnnotation();
  arrow .Text = number.ToString();
  if (number < 2) 
                    arrow .Color = OxyColors.Green;
   else 
                     arrow .Color = OxyColors.Red;
  arrow.StartPoint =  point + 5;
  arrow.EndPoint = point;
  arrow.YAxisKey = "Spread";
  SpreadModel.Annotations.Add(arrow);
The variable - number is always different, but arrows are always the same color(depends of what number was the last).
Thanks