Candlestick Chart
The Candlestick chart type is used to display stock information using high, low, open and close values. The size of the line is determined by the high and low values, while the size of the bar is determined by the open and close values. The open and close bars are displayed using different colors. The color used depends on whether the stock's price has gone up or down.
Chart Characteristics
SeriesChartType value |
SeriesChartType.Candlestick |
Number of Y values per point |
4 (high, low, open and close, respectively). |
Number of series |
One or more |
Supports markers |
Yes |
Cannot be combined with: |
Doughnut, Pie, Bar, Stacked Bar, Polar, Radar, Pyramid, or Funnel charts. |
Custom attributes |
LabelValueType, MaxPixelPointWidth, MinPixelPointWidth, PixelPointDepth, PixelPointGapDepth, PixelPointWidth, PointWidth, PriceDownColor, PriceUpColor |
Remarks
If the close value is higher than the open value than the color of the bar is determined by the PriceUpColor custom attribute. If the close value is lower than the open value than the color of the bar is determined by the PriceDownColor custom attribute. Note that these custom attributes must be set explicitly (by default they are not set).
See Also
Reference
Chart Types
Stock Chart
System.Windows.Forms.DataVisualization.Charting
System.Web.UI.DataVisualization.Charting
Build Date:
2012-08-02