【实验室笔记】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 ...
随机推荐
- 更快的memcpy
更快的memcpy 写代码有时候和笃信宗教一样,一旦信仰崩溃,是最难受的事情.早年我读过云风的一篇<VC 对 memcpy 的优化>,以及<Efficiency geek 2: co ...
- 基于Log4net插件
基本代码 using System; using System.Collections.Generic; using System.Linq; using System.Text; using log ...
- Ruby设计模式透析之 —— 组合(Composite)
转载请注明出处:http://blog.csdn.net/sinyu890807/article/details/9153761 此为Java设计模式透析的拷贝版,专门为Ruby爱好者提供的,不熟悉R ...
- Eclipse 4.3正式版发布
Eclipse 4.3正式版发布 作者:chszs,转载需注明.博客主页: http://blog.csdn.net/chszs Eclipse 4.3版代号为Kepler. 主要特性如下: 1. E ...
- 在 ML2 中配置 OVS vlan network - 每天5分钟玩转 OpenStack(136)
前面我们已经学习了 OVS 的 local 网络 和 falt 网络,今天开始讨论 vlan 网络. vlan network 是带 tag 的网络. 在 Open vSwitch 实现方式下,不同 ...
- Linux进程分配内存的两种方式--brk() 和mmap()
如何查看进程发生缺页中断的次数? 用ps -o majflt,minflt -C program命令查看. majflt代表major fault,中文名叫大错误,minflt代表minor faul ...
- Unity Get Thread Content Failed
最近在使用Unity做项目时,发现总是莫名的出现“Get Thread Content Failed”的消息弹出,然后Unity就卡死了,这样反反复复,后来查到是因为一些杀毒软件在阻止Unity,尝试 ...
- The Linux Mint 18.1:Eclipse Run The C++ And Python ConfigorationWhen You achieve above step,you can run the c++ and python! (Next OTL ,PYOTL is Project That Write By Ruimin Shen(ability man) )
# Copyright (c) 2016, 付刘伟 (Liuwei Fu)# All rights reserved.# 转载请注明出处 1.Install The Eclipse,g++ Use T ...
- Python datetime模块的datetime类
datetime模块定义了下面这几个类: datetime.date:表示日期的类.常用的属性有year, month, day. datetime.time:表示时间的类.常用的属性有hour, m ...
- javascript根据元素自定义属性获取元素,操作元素
写在前面:给某个或多个元素自定义属性data-tar,想获取data-tar='123'的元素来进行进一步的操作,如何实现? function getElementByAttr(tag,attr,va ...