Click here to Skip to main content
15,893,487 members
Articles / Desktop Programming / XAML

Coppock Chart

Rate me:
Please Sign up or sign in to vote.
4.25/5 (4 votes)
25 May 2010CPOL7 min read 37.3K   1.3K   19  
This article demonstrates building a web based interactive chart and is my attempt to assimilate some of the recent updates and best practices that have emerged with Visual Studio 2010 and .NET Framework 4 into my software lexicon.
// <copyright file="Data.cs" company="Silverlight Charting"> 
//    Copyright © 2009 Mark Brownsword. All rights reserved.
//    This source code and supporting files are licensed under The Code Project  
//    Open License (CPOL) as detailed at http://www.codeproject.com/info/cpol10.aspx. 
// </copyright>
namespace Silverlight.Charting.Charts.Model
{
    using System.Collections.ObjectModel;
    using System.Collections.Generic;

    /// <summary>
    /// Represents the data for a single series.
    /// </summary>
    public class Data
    {
        /// <summary>
        /// Initializes a new instance of the Data class.
        /// </summary>
        /// <param name="title">title parameter</param>
        /// <param name="description">description parameter</param>
        public Data(string title, string description)
        {
            this.Title = title;
            this.Description = description;
        }

        /// <summary>
        /// Gets the Title.
        /// </summary>
        public string Title { get; private set; }

        /// <summary>
        /// Gets the Description.
        /// </summary>
        public string Description { get; private set; }

        /// <summary>
        /// Gets or sets the SeriesData.
        /// </summary>
        public LinkedList<DataItem> SeriesData { get; set; }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Australia Australia
I've been working as a software developer since 2000 and hold a Bachelor of Business degree from The Open Polytechnic of New Zealand. Computers are for people and I aim to build applications for people that they would want to use.

Comments and Discussions