Click here to Skip to main content
15,896,111 members
Articles / Desktop Programming / WPF

OpenWPFChart: Assembling Charts from Components. Part II - Controls

Rate me:
Please Sign up or sign in to vote.
4.90/5 (14 votes)
26 Mar 2009CPOL10 min read 70.2K   2.2K   52  
Chart controls composed from Chart Parts
Text data file is the rectangular table of fields separated by either space or tab.
Data file must contain one header line and one or more series points lines.

Header line is the list of string column names ( > 1) and looks like
name1 name2 name3 name4
First column is treated as abscissa.

Series points line is the list of series values and looks like
100 1/1/2008 term 35.0
Token counts in the header and in each series line must be equal.

Each column values must be convertible to the same base type.
Base type is determined by the first series line in the following manner:
1. If the token can be converted to double, the base type is double.
2. If the token can be converted to DateTime, the base type is DateTime.
3. Otherwise the base type is string.


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
Team Leader
Russian Federation Russian Federation
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions