Dundas Chart for ASP.NET
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.WebControl
   ...

' 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.WebControl;
  ...

// 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. 

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.