Dundas Chart for ASP.NET
PriceDownColor Custom Attribute
See Also Send comments on this topic.
Custom Attributes > PriceDownColor Custom Attribute



Glossary Item Box

Gets or sets the DataPoint color to use to indicate a decreasing price.
Visual Basic Copy Code
Imports Dundas.Charting.WebControl
   ...

' Set the Series PriceDownColor to Red and Blue for Point 3.
Chart1.Series(0)("PriceDownColor") = "Red"
Chart1.Series(0).Points(3)("PriceDownColor") = "Blue"


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

// Set the Series PriceDownColor to Red and Blue for Point 3.
Chart1.Series[0]["PriceDownColor"] = "Red";
Chart1.Series[0].Points[3]["PriceDownColor"] = "Blue";


                    

Remarks

This attribute is only applicable to the CandleStick chart. A price is considered decreasing when the Close value is less 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
Applies to Chart Types: Candlestick

See Also

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