91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 1.43MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-08-19
  • 語言: C#
  • 標簽:

資源簡介

ZedGraphV515SampleCS_(動態實時曲線示例-全部源碼) 1、c#的開源的圖形控件,可用來畫曲線或柱狀等圖形,功能強大); 2、在原有基礎的上改進; 3、動態實時曲線; 4、c#2005全部源碼。

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?ZedGraph;

namespace?ZedGraphSample
{
public?partial?class?Form1?:?Form
{
public?Form1()
{
InitializeComponent();
}

private?void?Form1_Load(?object?sender?EventArgs?e?)
{
????????????////CreateGraph_One(this.zedGraphControl1);//一條曲線

????????????//CreateGraph_Two(this.zedGraphControl1);??//兩條曲線

????????????//CreateGraph_Date(this.zedGraphControl1);??//日期

????????????//CreateGraph_Chart(this.zedGraphControl1);??//圖表


????????????CreateGraph_jingzhi(this.zedGraphControl1);
????????????this.Init_Timer();
????????????this.Timer1.Start();

????????????//SetSize();
}


????????private?void?Form1_Resize(object?sender?EventArgs?e)
????????{
????????????//SetSize();
????????}

????????private?void?SetSize()
????????{
????????????//zg1.Location?=?new?Point(10?10);
????????????////?Leave?a?small?margin?around?the?outside?of?the?control
????????????//zg1.Size?=?new?Size(this.ClientRectangle.Width?-?20?this.ClientRectangle.Height?-?20);
????????}

????????#region?樣例
????????private?void?CreateGraph_One(?ZedGraphControl?zgc?)
{
GraphPane?myPane?=?zgc.GraphPane;

//?Set?the?titles?and?axis?labels
myPane.title.Text?=?“曲線示例“;
myPane.XAxis.title.Text?=?“Xxx軸“;
????????????myPane.YAxis.title.Text?=?“Yyy軸“;

//?Make?up?some?data?points?from?the?Sine?function
PointPairList?list?=?new?PointPairList();
for?(?double?x?=?0;?x? {
double?y?=?Math.Sin(?x?*?Math.PI?/?15.0?);

list.Add(?x?y?);
}

????????????//?Generate?a?blue?curve?with?circle?symbols?and?“My?Curve?2“?in?the?legend
????????????LineItem?myCurve?=?myPane.AddCurve(“My?Curve“?list?Color.Blue?SymbolType.Circle);
????????????//?Fill?the?area?under?the?curve?with?a?white-red?gradient?at?45?degrees
????????????myCurve.Line.Fill?=?new?Fill(Color.White?Color.Red?45F);
????????????//?Make?the?symbols?opaque?by?filling?them?with?white
????????????myCurve.Symbol.Fill?=?new?Fill(Color.White);

????????????//?Fill?the?axis?background?with?a?color?gradient
????????????myPane.Chart.Fill?=?new?Fill(Color.White?Color.LightGoldenrodYellow?45F);

????????????//?Fill?the?pane?background?with?a?color?gradient
????????????myPane.Fill?=?new?Fill(Color.White?Color.FromArgb(220?220?255)?45F);

????????????//?Calculate?the?Axis?Scale?Ranges
????????????zgc.AxisChange();
????????}

????????private?void?CreateGraph_Two(ZedGraphControl?zgc)
????????{
????????????//?get?a?reference?to?the?GraphPane
????????????GraphPane?myPane?=?zgc.GraphPane;

?????????
????????????//?Make?up?some?data?arrays?based?on?the?Sine?function
????????????double?x?y1?y2;
????????????PointPairList?list1?=?new?PointPairList();
????????????PointPairList?list2?=?new?PointPairList();
????????????for?(int?i?=?0;?i?

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????348160??2010-11-16?21:04??ZedGraphV515SampleCS\ZedGraphSample\bin\Debug\ZedGraph.dll

?????文件????1070592??2010-11-16?21:04??ZedGraphV515SampleCS\ZedGraphSample\bin\Debug\ZedGraph.pdb

?????文件??????24576??2010-11-16?21:05??ZedGraphV515SampleCS\ZedGraphSample\bin\Debug\ZedGraphSample.exe

?????文件??????26112??2010-11-16?21:05??ZedGraphV515SampleCS\ZedGraphSample\bin\Debug\ZedGraphSample.pdb

?????文件???????5632??2005-11-11?22:25??ZedGraphV515SampleCS\ZedGraphSample\bin\Debug\ZedGraphSample.vshost.exe

?????文件???????4096??2010-11-16?21:04??ZedGraphV515SampleCS\ZedGraphSample\bin\Debug\zh-cn\ZedGraph.resources.dll

?????文件??????12878??2010-11-14?21:19??ZedGraphV515SampleCS\ZedGraphSample\Form1.cs

?????文件???????3411??2010-11-14?19:36??ZedGraphV515SampleCS\ZedGraphSample\Form1.Designer.cs

?????文件???????5814??2010-11-14?19:36??ZedGraphV515SampleCS\ZedGraphSample\Form1.resx

?????文件???????5091??2010-11-16?21:05??ZedGraphV515SampleCS\ZedGraphSample\obj\Debug\ResolveAssemblyReference.cache

?????文件????????842??2010-11-16?21:05??ZedGraphV515SampleCS\ZedGraphSample\obj\Debug\ZedGraphSample.csproj.GenerateResource.Cache

?????文件??????24576??2010-11-16?21:05??ZedGraphV515SampleCS\ZedGraphSample\obj\Debug\ZedGraphSample.exe

?????文件????????180??2010-11-16?21:05??ZedGraphV515SampleCS\ZedGraphSample\obj\Debug\ZedGraphSample.Form1.resources

?????文件??????26112??2010-11-16?21:05??ZedGraphV515SampleCS\ZedGraphSample\obj\Debug\ZedGraphSample.pdb

?????文件????????180??2010-11-16?21:05??ZedGraphV515SampleCS\ZedGraphSample\obj\Debug\ZedGraphSample.Properties.Resources.resources

?????文件????????405??2010-11-16?21:05??ZedGraphV515SampleCS\ZedGraphSample\obj\ZedGraphSample.csproj.FileList.txt

?????文件????????407??2006-03-11?11:28??ZedGraphV515SampleCS\ZedGraphSample\Program.cs

?????文件???????1302??2006-06-26?13:46??ZedGraphV515SampleCS\ZedGraphSample\Properties\AssemblyInfo.cs

?????文件???????2523??2006-03-11?11:28??ZedGraphV515SampleCS\ZedGraphSample\Properties\Resources.Designer.cs

?????文件???????5612??2006-03-11?11:28??ZedGraphV515SampleCS\ZedGraphSample\Properties\Resources.resx

?????文件???????1027??2006-03-11?11:28??ZedGraphV515SampleCS\ZedGraphSample\Properties\Settings.Designer.cs

?????文件????????249??2006-03-11?11:28??ZedGraphV515SampleCS\ZedGraphSample\Properties\Settings.settings

?????文件???????3459??2010-11-16?20:35??ZedGraphV515SampleCS\ZedGraphSample\ZedGraphSample.csproj

?????文件????????168??2010-11-14?19:22??ZedGraphV515SampleCS\ZedGraphSample\ZedGraphSample.csproj.user

?????文件???????1421??2010-11-16?20:34??ZedGraphV515SampleCS\ZedGraphV515SampleCS.sln

????..A..H.?????46080??2010-11-16?21:05??ZedGraphV515SampleCS\ZedGraphV515SampleCS.suo

?????文件?????348160??2010-11-16?21:04??ZedGraphV515SampleCS\zedgraph_source_v515\bin\Debug\ZedGraph.dll

?????文件????1070592??2010-11-16?21:04??ZedGraphV515SampleCS\zedgraph_source_v515\bin\Debug\ZedGraph.pdb

?????文件???????4096??2010-11-16?21:04??ZedGraphV515SampleCS\zedgraph_source_v515\bin\Debug\zh-cn\ZedGraph.resources.dll

?????文件????????964??2010-11-16?21:04??ZedGraphV515SampleCS\zedgraph_source_v515\obj\Debug\ZedGraph.csproj.GenerateResource.Cache

............此處省略179個文件信息

評論

共有 條評論

相關資源