2D Chart for WinForms | ComponentOne
Chart for WinForms Task-Based Help / Candle Chart Tasks / Creating a Fill Color for Rising Candles
In This Topic
    Creating a Fill Color for Rising Candles
    In This Topic

    To create a fill color for rising stock prices, use the FillTransparent and SymbolStyle color properties.

    To write code in Visual Basic

    Visual Basic
    Copy Code
    c1Chart1.ChartGroups(0).HiLoData.FillTransparent = False
    c1Chart1.ChartGroups(0).ChartData.SeriesList[0].SymbolStyle.Color = Color.Yellow
    

    To write code in C#

    C#
    Copy Code
    c1Chart1.ChartGroups[0].HiLoData.FillTransparent = false;
    c1Chart1.ChartGroups[0].ChartData.SeriesList[0].SymbolStyle.Color = Color.Yellow;