【实验室笔记】zedgraph控件属性总结
//图表的X轴刻度线是否显示
this.zedGraphControl1.GraphPane.XAxis.MajorGrid.IsVisible = true;
//图表的X轴刻度线的颜色
this.zedGraphControl1.GraphPane.XAxis.MajorGrid.Color = Color.Gray;
//图表的Y轴刻度线是否显示
this.zedGraphControl1.GraphPane.YAxis.MajorGrid.IsVisible = true;
//图表的Y轴刻度线的颜色
this.zedGraphControl1.GraphPane.YAxis.MajorGrid.Color = Color.Gray;
//图表的总标题
this.zedGraphControl1.GraphPane.Title.Text = "温度";
//图表总标题的颜色
this.zedGraphControl1.GraphPane.Title.FontSpec.FontColor = Color.Red;
//图表的Y轴标题
this.zedGraphControl1.GraphPane.YAxis.Title.Text = "数量";
//图标的Y轴颜色
this.zedGraphControl1.GraphPane.YAxis.Title.FontSpec.FontColor = Color.Red;
//图表的X轴标题
this.zedGraphControl1.GraphPane.XAxis.Title.Text = "时间";
//图标的X轴颜色
this.zedGraphControl1.GraphPane.XAxis.Title.FontSpec.FontColor = Color.Red;
//图表X的数据类型
this.zedGraphControl1.GraphPane.XAxis.Type = ZedGraph.AxisType.DateAsOrdinal;
//图表内边框的颜色
this.zedGraphControl1.GraphPane.Chart.Border.Color = Color.Blue;
//图表外边框的颜色
this.zedGraphControl1.GraphPane.Border = new Border(Color.Blue, );
//图表X轴刻度字体的颜色
this.zedGraphControl1.GraphPane.XAxis.Scale.FontSpec.FontColor = Color.Red;
//图表X轴刻度大刻度的颜色
this.zedGraphControl1.GraphPane.XAxis.MajorTic.Color = Color.Red;
//图表X轴刻度小刻度的颜色
this.zedGraphControl1.GraphPane.XAxis.MinorTic.Color = Color.Red;
//曲线标签的位置
this.zedGraphControl1.GraphPane.Legend.Position = LegendPos.Top;
【实验室笔记】zedgraph控件属性总结的更多相关文章
- ios 学习笔记之控件属性
1.文本框 设置密码属性:Secure Text Entry 勾选; 设置文本框带清除属性: Clear Button =Is always visible; 默认是不带清除属性:Never app ...
- android笔记一 控件属性
<?xml version = "1.0" encoding = "utf-8"?> <LinearLayout xmlns:android= ...
- zedgraph控件的一些比较有用的属性 转
(1)zedgraph控件属性具体解释: AxisChange()() ->> This performs an axis change command on the graphPane. ...
- zedgraph控件的一些比较有用的属性
(1)zedgraph控件属性具体解释: AxisChange()() ->> This performs an axis change command on the graphPane. ...
- ZedGraph控件的使用
http://blog.chinaunix.net/uid-20776117-id-1847015.html 在我们编写程序的时候,有时候是要做一些统计的,为了达到一目了然的效果,饼状图,曲线图,柱状 ...
- ZedGraph控件的使用 --归类(转帖)
在我们编写程序的时候,有时候是要做一些统计的,为了达到一目了然的效果,饼状图,曲线图,柱状图都是很好的表现统计的直观形式.这个时候,ZedGraph控件给我们带来了极大的方便. 1.下载ZedGrap ...
- ExtJs控件属性配置详细
序言: 1.本文摘自网络,看控件命名像是4.0以前的版本,但控件属性配置仍然可以借鉴(不足之处,以后项目用到时再续完善). Ext.form.TimeField: 配置项: ...
- 编写Delphi控件属性Stored和Default的理解及应用
property ButtonSize: Integer read FButtonSize write SetButtonSize default 0; property Color: TCol ...
- Android控件属性大全(转)
http://blog.csdn.net/pku_android/article/details/7365685 LinearLayout 线性布局 子元素任意: Tab ...
随机推荐
- tomcat配置数据池
1->配置servlet.xml 在 <GlobalNamingResources></GlobalNamingResources>中添加<Resource> ...
- webservice的调用方法
一.WebService在cs后台程序中的调用 A.通过命名空间和类名直接调用 示例: WebService ws = new WebService(); string s = ws.HelloWor ...
- enode框架step by step之事件驱动架构(EDA)思想的在框架中如何体现
enode框架step by step之事件驱动架构(EDA)思想的在框架中如何体现 上一篇文章,我给大家分享了我的一个基于DDD以及EDA架构的框架enode,但是只是介绍了一个大概.接下来我准备用 ...
- service structure flowchart [mobile to server via HTTP RESTful API and TCP/IP in a map]
mobile to server in RESTful and TCP/IP way
- HDU多校练习第一场4608——I_Number
题目:点击打开链接 水题一道,刚开始写了一发模拟,后来发现所谓的10^5是个length……果断加了个大数枚举,过了,今天换了个样式重写了个. 易于推出,两个数之间的最大差值为20. #include ...
- java中outer的使用
outer多用于嵌套循环的情况 outer: for (int i = 2 ; i <= 10 ; i++) { for (int j = 2 ; j <=10 ; j++) { if(i ...
- 写给新手的WebAPI实践
此篇是写给新手的Demo,用于参考和借鉴,用于发散思路.老鸟可以忽略了. 自己经常有这种情况,遇到一个新东西或难题,在了解和解决之前总是说“等搞定了一定要写篇文章记录下来”,但是当掌握了之后,就感觉好 ...
- Node.js学习笔记(二):模块
模块是 Node.js 应用程序的基本组成部分,文件和模块是一一对应的.一个 Node.js 文件就是一个模块,这个文件可能是 JavaScript 代码.JSON 或者编译过的 C/C++ 扩展. ...
- properties + IO 读取配置文件
1.项目目录树 2.配置文件config.properties username = sushe password = sushe url = jdbc:mysql://172.16.100.10:3 ...
- D3.js
html代码: <div id="id"> <p>Apple</p> <p id="aa">Pear</p ...