Dundas Chart for Windows Forms
PriceUpColor Custom Attribute
See Also Send comments on this topic.
Custom Attributes > PriceUpColor Custom Attribute



Glossary Item Box

Gets or sets the DataPoint color to use to indicate a increasing price or trend.
Visual Basic Copy Code
Imports Dundas.Charting.WinControl
  ...

' Set the Series PriceUpColor to Red and Blue for Point 3 (if a CandleStick chart).
Chart1.Series(0)("PriceUpColor") = "Red"
Chart1.Series(0).Points(3)("PriceUpColor") = "Blue"

C# Copy Code
using Dundas.Charting.WinControl;
   ...

// Set the Series PriceUpColor to Red and Blue for Point 3 (if a CandleStick chart).
Chart1.Series[0]["PriceUpColor"] = "Red";
Chart1.Series[0].Points[3]["PriceUpColor"] = "Blue";

Remarks

This attribute is only applicable to the CandleStick, PointAndFigure, Renko, Kagi and ThreeLineBreak charts. A price is considered increasing when the Close value is greater than its Open value. Renko Chart

Custom Attribute Summary
Possible Values: Any named Color, ARGB or RGB value. 
Default Value: Color.Empty
2D / 3D Limitations: No
Applies to Chart Element: Series and DataPoint Objects for CandleStick charts, otherwise only Series objects.
Applies to Chart Types: Candlestick, Point and Figure, Renko, Kagi, Three Line Break

See Also

©2009. All Rights Reserved.