当前位置: 首页 > news >正文

上海疫情最新结果/单页网站seo如何优化

上海疫情最新结果,单页网站seo如何优化,网站制作深圳,模板网站robots怎么做前面有一篇文章介绍ZedGraph的官网,以及控件的使用文档。 https://blog.csdn.net/weixin_40314351/article/details/114273114 现在,通过一个案例了解ZedGraph的常用属性。话不多数,直接上图。 这个是官网的一个案例,实现了多个Y…

前面有一篇文章介绍ZedGraph的官网,以及控件的使用文档。
https://blog.csdn.net/weixin_40314351/article/details/114273114

现在,通过一个案例了解ZedGraph的常用属性。话不多数,直接上图。

在这里插入图片描述

这个是官网的一个案例,实现了多个Y轴同时在使用。

 

public partial class Form1 : Form{GraphPane myPane ;PointPairList vlist ;PointPairList alist ;PointPairList dlist ;PointPairList elist ;YAxis yAxis3;Y2Axis yAxis4;public Form1(){InitializeComponent();InitZedGraph();btnNew.Click += new EventHandler(btnNew_Click);}#region 初始化图表控件private void InitZedGraph(){myPane = myZedgraph.GraphPane;myPane.Title.Text = "Domonstration of Multi Y Graph";myPane.XAxis.Title.Text = "Time,s";myPane.YAxis.Title.Text = "Velocity, m/s";myPane.Y2Axis.Title.Text = "Acceleration, m/s2";vlist = new PointPairList();alist = new PointPairList();dlist = new PointPairList();elist = new PointPairList();for (int i = 0; i < 30; i++){double time = (double)i;double acceleration = 2.0;double velocity = acceleration * time;double distance = acceleration * time * time / 2.0;double energy = 100.0 * velocity * velocity / 2.0;alist.Add(time, acceleration);vlist.Add(time, velocity);elist.Add(time, energy);dlist.Add(time, distance);}//generate a red curve with diamond symbols, and "Velocity" in the legendLineItem myCurve = myPane.AddCurve("Velocity", vlist, Color.Red, SymbolType.Diamond);myCurve.Symbol.Fill = new Fill(Color.White);   // fill the symbols with white//generate a blue curve with circle symbols , and "Acceleration" in the legendmyCurve = myPane.AddCurve("Acceleration", alist, Color.Blue, SymbolType.Circle);myCurve.Symbol.Fill = new Fill(Color.White);   //fill the symbols with whitemyCurve.IsY2Axis = true;                      // associate this curve with Y2 axis//generate a green curve with square symbols, and "Distance" in the legendmyCurve = myPane.AddCurve("Distance", dlist, Color.Green, SymbolType.Square);myCurve.Symbol.Fill = new Fill(Color.White);   //fill the symbols with whitemyCurve.YAxisIndex = 1;                        // Associate this curve with the second axis//generate a Black curve with triangle symbols, and "Energy" in the legendmyCurve = myPane.AddCurve("Energy", elist, Color.Black, SymbolType.Triangle);myCurve.Symbol.Fill = new Fill(Color.White);     // fill the symbols with whitemyCurve.IsY2Axis = true;                         // Associate this curve with the Y2 axismyCurve.YAxisIndex = 1;                          // Associate this curve with the second Y2 axis//show the x axis gridmyPane.XAxis.MajorGrid.IsVisible = true;//make the Y axis scale redmyPane.YAxis.Scale.FontSpec.FontColor = Color.Red;myPane.YAxis.Title.FontSpec.FontColor = Color.Red;//turn off the opposite tics so the Y Tics don't show up on the Y2 axismyPane.YAxis.MajorTic.IsOpposite = false;myPane.YAxis.MinorTic.IsOpposite = false;// don't display the y zero linemyPane.YAxis.MajorGrid.IsZeroLine = false;//Align the Y axis labels so they are flush to the axismyPane.YAxis.Scale.Align = AlignP.Inside;myPane.YAxis.Scale.Max = 100;//enable the Y2 Axis displaymyPane.Y2Axis.IsVisible = true;//make the Y2 Axis scale bluemyPane.Y2Axis.Scale.FontSpec.FontColor = Color.Blue;myPane.Y2Axis.Title.FontSpec.FontColor = Color.Blue;//turn off the opposite tics so the Y2 tics don't show up on the Y axismyPane.Y2Axis.MajorTic.IsOpposite = false;myPane.Y2Axis.MinorTic.IsOpposite = false;//display the Y2 axis grid linesmyPane.Y2Axis.MajorGrid.IsVisible = true;myPane.Y2Axis.Scale.Align = AlignP.Inside;   //align the Y2 axis labels so they are flush to the axismyPane.Y2Axis.Scale.Min = 1.5;myPane.Y2Axis.Scale.Max = 3;//create a second Y axis, greenyAxis3 = new YAxis("Distance, m");myPane.YAxisList.Add(yAxis3);yAxis3.Scale.FontSpec.FontColor = Color.Green;yAxis3.Title.FontSpec.FontColor = Color.Green;yAxis3.Color = Color.Green;//turn off the opposite tics so the Y2 tics don't show up on the Y axisyAxis3.MajorTic.IsInside = false;yAxis3.MinorTic.IsInside = false;yAxis3.MajorTic.IsOpposite = false;yAxis3.MinorTic.IsOpposite = false;yAxis3.Scale.Align = AlignP.Inside;   //align the Y2 axis labels so they are flush to the axisyAxis4 = new Y2Axis("Energy");yAxis4.IsVisible = true;myPane.Y2AxisList.Add(yAxis4);//turn off the opposite tics so the Y2 tics don't show up on the y axisyAxis4.MajorTic.IsInside = false;yAxis4.MinorTic.IsInside = false;yAxis4.MajorTic.IsOpposite = false;yAxis4.MinorTic.IsOpposite = false;//Align the Y2 axis labels so they are flush to the axisyAxis4.Scale.Align = AlignP.Inside;yAxis4.Type = AxisType.Log;yAxis4.Scale.Min = 100;//fill the axis background with a gradientmyPane.Chart.Fill = new Fill(Color.White, Color.LightGoldenrodYellow, 45.0f);myZedgraph.AxisChange();}#endregion}

http://www.lbrq.cn/news/1114921.html

相关文章:

  • 网站后台可改资料/企业中层管理人员培训课程
  • reactjs 做网站/网站建站系统
  • 秦皇岛网站建设seo/深圳百度首页优化
  • 北京综合网站建设报价/威海网站制作
  • 深圳大型商城网站建设/怎么弄一个网站平台
  • wordpress 默认robots.txt/兰州快速seo整站优化招商
  • 单位建设网站的作用意义/网站seo方案案例
  • 做图片站 把图片放到其它网站可以吗/太原最新情况
  • 上海装修公司口碑哪家好/谷歌seo代运营
  • 网站右边上下浮动代码/自建网站流程
  • 昌平做网站公司/百度小说搜索排行榜
  • 基层党组织建设网站/千峰培训
  • 怀安网站建设/网络优化的工作内容
  • 上海模板建站公司/整合营销传播工具有哪些
  • 网站制作和维护费用/网络营销的四种形式
  • 高境网站建设/互联网项目推广是什么
  • 电子商务网站建设与维护 论文/全国疫情最新数据
  • 企业网站开发合同/搜索引擎广告的优缺点
  • 做音乐网站之前的准备/中国重大新闻
  • 做网站制作的公司/冯站长之家官网
  • 香港的网站不需要备案吗/核心关键词和长尾关键词举例
  • 网站浏览记录怎么做/专门搜索知乎内容的搜索引擎
  • 宝安小学网站建设/交换链接的作用
  • php做的网站facebook/灯塔网站seo
  • 网站怎么做子分类/windows优化大师怎么彻底删除
  • 在常州 做兼职上什么网站/微信上怎么做广告推广
  • 做app网站需要什么/百度关键词指数排行
  • 用什么做网站开发/网络推广是什么专业
  • 个人网站怎么做扫码支付/如何在各种网站投放广告
  • wordpress清理过期文件夹/北京seoqq群
  • 2D视觉系统标定流程与关键要求
  • HDFS基本操作训练(创建、上传、下载、删除)
  • 在UE中如何操作视图的大小,方位,移动
  • 构建足球实时比分APP:REST API与WebSocket接入方案详解
  • Taro.eventCenter 用法详解与实战
  • git起步