资源简介
wince 系统chart曲线显示控件Demo 并有多种曲线显示类型
代码片段和文件信息
using System;
using System.Collections;
using System.Data;
namespace xuzhenzhen.com.chart
{
///
/// Encapsulates functionality relating to exposing data in various
/// different data structures in a consistent way.
///
/// It would be more efficient to have iterator style access
/// to the data rather than index based and Count.
public class AdapterUtils
{
#region AxisSuggesters
///
/// Interface for classes that can suggest an axis for data they contain.
///
public interface IAxisSuggester
{
///
/// Calculates a suggested axis for the data contained by the implementing class.
///
/// the suggested axis
Axis Get();
}
///
/// Implements functionality for suggesting an axis suitable for charting
/// data in multiple columns of a DataRowCollection.
///
/// This is currently not used.
public class AxisSuggester_MultiColumns : IAxisSuggester
{
DataRowCollection rows_;
string abscissaName_;
///
/// Constructor
///
/// The DataRowCollection containing the data.
/// the column with this name is not considered
public AxisSuggester_MultiColumns(DataRowCollection rows string abscissaName)
{
rows_ = rows;
abscissaName_ = abscissaName;
}
///
/// Calculates a suggested axis for the DataRowCollection data.
///
/// the suggested axis
public Axis Get()
{
double t_min = double.MaxValue;
double t_max = double.MinValue;
System.Collections.IEnumerator en = rows_[0].Table.Columns.GetEnumerator();
while (en.MoveNext())
{
string colName = ((DataColumn)en.Current).Caption;
if (colName == abscissaName_)
{
continue;
}
double min;
double max;
if (Utils.RowArrayMinMax(rows_ out min out max colName))
{
if (min < t_min)
{
t_min = min;
}
if (max > t_max)
{
t_max = max;
}
}
}
return new LinearAxis(t_min t_max);
}
}
///
/// This class gets an axis suitable for plotting the data contained in an IList.
///
public class AxisSuggester_IList : IAxisSuggester
{
private IList data_;
///
/// Constructor.
///
/// the data we want to find a suitable axis for.
public AxisSuggester_IList(IList data)
{
data_ = data;
}
///
/// Calculates a suggested axis for the IList data.
///
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2011-12-16 19:28 ChartProject1\
目录 0 2011-10-18 18:37 ChartProject1\bin\
目录 0 2011-10-18 18:37 ChartProject1\Chart\
目录 0 2011-10-18 18:37 ChartProject1\ChartProject1\
文件 14605 2011-08-18 16:13 ChartProject1\ChartProject1.sln
文件 310784 2011-10-02 22:00 ChartProject1\ChartProject1.suo
目录 0 2011-10-18 18:37 ChartProject1\ChartProject1\bin\
目录 0 2011-10-18 18:37 ChartProject1\ChartProject1\bin\Debug\
文件 187904 2011-08-23 15:58 ChartProject1\ChartProject1\bin\Debug\Chart.dll
文件 663040 2011-08-23 15:58 ChartProject1\ChartProject1\bin\Debug\Chart.pdb
文件 102400 2011-10-02 21:51 ChartProject1\ChartProject1\bin\Debug\ChartProject1.exe
文件 50688 2011-10-02 21:51 ChartProject1\ChartProject1\bin\Debug\ChartProject1.pdb
文件 80384 2011-08-23 14:49 ChartProject1\ChartProject1\bin\Debug\Excel.dll
文件 314880 2011-08-23 14:49 ChartProject1\ChartProject1\bin\Debug\Excel.pdb
文件 211968 2011-08-23 14:49 ChartProject1\ChartProject1\bin\Debug\ICSharpCode.SharpZLib.dll
文件 695808 2011-08-23 14:49 ChartProject1\ChartProject1\bin\Debug\ICSharpCode.SharpZLib.pdb
文件 4319 2011-08-07 14:18 ChartProject1\ChartProject1\ChartProject1.csproj
文件 198 2011-08-04 16:39 ChartProject1\ChartProject1\ChartProject1.csproj.user
文件 18022 2006-10-11 16:47 ChartProject1\ChartProject1\light.wav
目录 0 2011-10-18 18:37 ChartProject1\ChartProject1\obj\
目录 0 2011-10-18 18:37 ChartProject1\ChartProject1\obj\Debug\
文件 2006 2011-08-23 14:49 ChartProject1\ChartProject1\obj\Debug\ChartProject1.csproj.FileListAbsolute.txt
文件 920 2011-08-23 14:49 ChartProject1\ChartProject1\obj\Debug\ChartProject1.csproj.GenerateResource.Cache
文件 102400 2011-10-02 21:51 ChartProject1\ChartProject1\obj\Debug\ChartProject1.exe
文件 50688 2011-10-02 21:51 ChartProject1\ChartProject1\obj\Debug\ChartProject1.pdb
文件 53161 2011-10-02 21:51 ChartProject1\ChartProject1\obj\Debug\ChartProject1.PlotSurface2DDemo.resources
文件 180 2011-10-02 21:51 ChartProject1\ChartProject1\obj\Debug\ChartProject1.Properties.Resources.resources
目录 0 2011-10-18 18:37 ChartProject1\ChartProject1\obj\Debug\TempPE\
文件 3584 2011-08-04 19:27 ChartProject1\ChartProject1\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
文件 2099 2006-10-11 16:47 ChartProject1\ChartProject1\pattern01.jpg
文件 68049 2011-08-18 14:12 ChartProject1\ChartProject1\PlotSurface2DDemo.cs
............此处省略446个文件信息
- 上一篇:嵌入式系统PPT
- 下一篇:Bootstrap后台主题框架demo
相关资源
- Wince 经典教程经典教材
- MSChart控件需要的4个文件
- 这个是使用JfreeChart生成各种图表的代
- ECharts中国地图各省、市、区县json
- jfreechart-1.0.19 完整版
- ARM嵌入式WINCE实践教程.pdf
- mschart 经典
- WinCE开发源程序
- NETCFv35PowerToys.zip
- WINCE 检查内存泄露大杀器 CodeSnitch 1
- echarts全国地图数据
- flowchart破解后去掉licience 的代码
- FusionCharts所有SWF
- echarts地图各省、市、县js和json104775
-
wince6.0上的.net cf fr
amework 3.5安装包 - eharts world.js包含以中国为中心的js和
- ECHARTS真正全国省市纯JS地图(371个)
- 全国和省js以及全国、省、地市json(
- echarts3 实现地图全国各省市县地图
- WinCE讲义内部资料
- 不错的WINCE 讲座PPT
- echarts mapbox地图案例
- wince编程第三版(中文高清晰).pdf
- echart世界地图包含各个国家的单独j
- 最全字符云图,压缩包内附7种不同字
- 用图表说话(say it with charts)
- 通用版WINCE盘点机扫码程序免费共享版
- jfreechart开发文档(有完整的代码)
- ECharts使用教程
- echarts地图扩展所有县级geoJson
评论
共有 条评论