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

Webmin和wordpress巢湖seo推广

Webmin和wordpress,巢湖seo推广,西安高端网站建设公司,b2b电子商务网站调研方法: InitTable 方法:负责初始化图表模型,包括设置图表的样式、坐标轴、系列和注释。这个方法包括多个 Init 方法的调用,表示图表的初始化过程可以分步骤进行。 InitGoalPoint 方法:当前未实现,但预留了子…

方法:

InitTable 方法:负责初始化图表模型,包括设置图表的样式、坐标轴、系列和注释。这个方法包括多个 Init 方法的调用,表示图表的初始化过程可以分步骤进行。
InitGoalPoint 方法:当前未实现,但预留了子类进行重写。
InitXInitY 方法:分别初始化 X 和 Y 轴。
AddPoint 方法:向图表中添加点,并更新 Y 轴的最大值。
ClearPoint 方法:清空图表中的点并重新绘制。

字段和属性:

使用了 protected 修饰符来保护图表的各个部分(如 X 轴、Y 轴、系列等),允许子类访问和修改。
DataSrc 是一个公开的字典,用于存储数据源。
ChartModel 是公开的,只读属性,返回当前的图表模型。
GoalLines 也是公开的,只读属性,返回目标线的集合。

    [AddINotifyPropertyChangedInterface]public abstract class ChartBase<T>{public ChartBase(){InitTable();}protected virtual string ChartName { get; set; } = "";protected virtual string ChartXName { get; set; } = "";protected virtual string ChartYName { get; set; } = "";protected virtual double ChartXMin { get; set; } = double.NaN;protected virtual double ChartXMax { get; set; } = double.NaN;protected virtual double ChartXStep { get; set; } = double.NaN;protected virtual double ChartYMin { get; set; } = double.NaN;protected virtual double ChartYMax { get; set; } = double.NaN;protected virtual double ChartYStep { get; set; } = double.NaN;protected virtual void InitTable(){DataSrc = new();chartModel = new PlotModel(){Title = ChartName,IsLegendVisible = true,LegendMargin = 5,LegendPlacement = LegendPlacement.Outside,LegendOrientation = LegendOrientation.Horizontal,LegendPosition = LegendPosition.TopLeft,LegendFontSize = 15,PlotAreaBorderThickness = new OxyThickness(1, 0, 0, 1),TextColor = foreground,TitleColor = foreground,PlotAreaBorderColor = foreground,};InitX();InitY();InitGoalLine();InitGoalPoint();if(chart_X != null){ChartModel.Axes.Add(chart_X);}if (chart_Y != null){ChartModel.Axes.Add(chart_Y);}if(chart_X != null && chart_Y != null){lineSeries = new LineSeries(){//IsVisible = isShowAcResistance,//Title = "奈奎斯特图",MarkerType = MarkerType.Circle,MarkerFill = OxyColors.Transparent,MarkerStroke = OxyColors.DarkSeaGreen,MarkerStrokeThickness = 1,//StrokeThickness = seriesStrokeThickness,Color = OxyColors.CadetBlue,TextColor = foreground,XAxisKey = "Chart_X",YAxisKey = "Chart_Y",};ChartModel.Series.Add(lineSeries);}if(goalPoints!=null){ChartModel.Series.Add(goalPoints);}if(goalLines!=null){goalLines.ForEach(x => ChartModel.Annotations.Add(x));}}protected virtual void InitGoalPoint(){}OxyColor foreground = OxyColors.White;protected virtual void InitGoalLine(){//goalLines = new List<LineAnnotation>();//goalLines.Add(new LineAnnotation()//{//    Type = LineAnnotationType.Horizontal,//    Y = 20,//    LineStyle = LineStyle.Dash,//    StrokeThickness = 2,//    Color = OxyColors.DeepPink,//    TextColor = OxyColors.DeepPink,//    Text = "20",//});}protected virtual void InitY(){chart_Y = new LinearAxis(){Position = AxisPosition.Left,Title = ChartYName,TitlePosition = 0.5,Minimum = ChartYMin,Maximum = ChartYMax,MajorStep = ChartYStep,TextColor = foreground,TitleColor = foreground,TicklineColor = foreground,MinorTicklineColor = foreground,IsZoomEnabled = true,IsPanEnabled = true,Key = "Chart_Y",};}protected virtual void InitX(){chart_X = new LinearAxis(){Position = AxisPosition.Bottom,Title = ChartXName,Minimum = ChartXMin,Maximum = ChartXMax,MajorStep = ChartXStep,TextColor = foreground,TitleColor = foreground,TicklineColor = foreground,MinorTicklineColor = foreground,IsZoomEnabled = true,IsPanEnabled = true,Key = "Chart_X",};}public virtual void AddPoint(double x,double y){lineSeries.Points.Add(new(x,y));if(y > ChartModel.Axes[1].Maximum){ChartModel.Axes[1].Maximum = y + 2;}chartModel.InvalidatePlot(true);}public virtual void ClearPoint(){lineSeries.Points.Clear();if(goalPoints!=null){goalPoints.Points.Clear();}chartModel.InvalidatePlot(true);}//public void SetGoalLine1(double goal)//{//    goalLines[0].Y = goal;//    goalLines[0].Text = goal.ToString();//    chartModel.InvalidatePlot(true);//}//public void SetGoalPoint(double x, double y)//{//    goalPoints.Points.Add(new ScatterPoint(x, y));//    chartModel.InvalidatePlot(true);//}protected LinearAxis chart_X = null;protected LinearAxis chart_Y = null;protected LineSeries lineSeries = null;protected List<LineAnnotation> goalLines = null;protected ScatterSeries goalPoints = null;protected PlotModel chartModel;public Dictionary<int, T> DataSrc;public PlotModel ChartModel { get => chartModel; }public List<LineAnnotation> GoalLines { get => goalLines; }}
http://www.hrbkazy.com/news/14262.html

相关文章:

  • 做网站哪里找下载百度地图2022最新版官方
  • 做网站图片用什么格式最好网站建设7个基本流程
  • 餐饮运营策划公司重庆关键词优化服务
  • 网站做联盟广告能赚钱吗可以搜索国外网站的搜索引擎
  • 网站建设合同内容seo推广方案怎么做
  • 中山一站式营销推广平台跨境电商培训机构哪个靠谱
  • 网络营销网站建设设计方案成免费crm软件有哪些优点
  • 广州做网站企业怎样查询百度收录和排名情况
  • 什么网站可以做设计赚钱廊坊seo
  • 邢台网站制作哪里做舆情信息报送
  • 有哪些做淘宝素材的网站有哪些长春关键词优化公司
  • 可以先做网站再开公司吗营业推广方案
  • 滁州做网站hi444长春seo排名
  • 程序员做网站外快幽默广告软文案例
  • 彩视网站建设策划百度第三季度财报2022
  • 做网站图片如何压缩图片自媒体怎么做
  • 无锡新吴区住房和建设交通局网站免费推广seo
  • 合肥网站建设的价格百度投诉中心24人工客服
  • 网站推广的企业春哥seo博客
  • 在那个网站可以搜索做凉菜视频产品策划推广方案
  • 自己做网站导航页让手机变流畅的软件下载
  • 制作网站开发用的图片百度网盘客服
  • 做网站就上凡科建站手机网站模板建站
  • 天津和平做网站多少钱怎么建自己的网站?
  • 我在博洛尼装修的真实seo免费外链工具
  • 织梦可以做商城网站吗网站推广公司
  • 郑州好的网站建设公司百度相册登录入口
  • 建立主题网站的一般步骤口碑营销的例子
  • 做二手元器件那个网站查价格盐城seo推广
  • 有那些网站做平面设计订单地推拉新app推广平台有哪些