ComponentOne CandlestickChart for ASP.NET Web Forms
Candlestick Chart Elements / Series
In This Topic
    Series
    In This Topic

    The CandlestickChartSeries object represents the data being plotted for the Candlestick chart. The CandlestickChartSeries can be added in design view through the CandlestickChartSeries Collection Editor, in source view through the CandlestickChartSeries element, or programmatically through the CandlestickChartSeries object.

    1. Select the C1CandlestickChart control and click on its smart tag.
    2. In the C1CandlestickChart tasks menu, select the SeriesList item and this will open the CandlestickChartSeries Collection Editor dialog box.
    3. Click Add to add a CandlestickChartSeries member to the SeriesList collection.
    Markup
    Copy Code
    <cc1:CandlestickChartSeries Label="8 Days" LegendEntry="True">
        <Data>
            <High DoubleValues="105, 98, 45, 50, 85, 40, 66, 92"></High>
            <Low DoubleValues="8, 5, 7, 16, 20, 19, 3, 9"></Low>
            <Open DoubleValues="100, 90, 32, 16, 20, 8, 17, 40"></Open>
            <Close DoubleValues="60, 90, 45, 50, 22, 19, 40, 33"></Close>
            <X>
                <Values>
                    <cc1:ChartXData DateTimeValue="2014-03-15"></cc1ChartXData>
                    <cc1:ChartXData DateTimeValue="2014-03-16"></cc1ChartXData>
                    <cc1:ChartXData DateTimeValue="2014-03-17"></cc1ChartXData>
                    <cc1:ChartXData DateTimeValue="2014-03-18"></cc1ChartXData>
                    <cc1:ChartXData DateTimeValue="2014-03-19"></cc1ChartXData>
                    <cc1:ChartXData DateTimeValue="2014-03-20"></cc1ChartXData>
                    <cc1:ChartXData DateTimeValue="2014-03-21"></cc1ChartXData>
                    <cc1:ChartXData DateTimeValue="2014-03-22"></cc1ChartXData>
                </Values>
            </X>
        </Data>
    </cc1CandlestickChartSeries>
    

     

     

    See Also