资源简介
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下CP210x的驱动程序
- vc 柱形图 CBarChart
- WinCE中的Web Service调用
- teechart 源代码
- bmp2c
- 从EXCEL中取数据在Teechart7显示应用示例
- TeeChart Pro ActiveX V5
- eCharts全国及各省、市、县地图层jso
- WinCE_6.0_中文SDK(仿真器模拟器)
- CChart与炫彩界面库联合编程演示代码
- MSChart使用手册
- Strichartz estimates for the wave equation wit
- Echarts扩展百度地图
- echarts大数据可视化新能源车联网综合
- 导航mtk方案进wince工具
- wince Flash 播放器
- 真正能搜星的绿色中文版Wince5.0模拟器
- Graph And Chart 1.91.unitypackage
- echart地图 34省js及json文件 344地级js
- 全国各省市地json图
- Echarts3.0地图
- 宁夏省市地图js和json文件
- echarts生成json地图最新版
- WindowsCE第三方软件.rar
- echarts-3.5.3 源码包完整版
- 全国echart地图包
- echart地图全国各省js文件
- echart 全国/各省份以及各地级市JSON文
- Echarts省市级地图js,json数据
- ECharts 中国地图 点击进入省级地图
评论
共有 条评论