zoukankan      html  css  js  c++  java
  • c# 中Teechart 的坐标点的相关设置

    一   .坐标点的设置

    //每个坐标点描出来
    teeChart1.Series(0).asLine.Pointer.Visible = true;

    //设置坐标点的大小
    teeChart1.Series(0).asLine.Pointer.HorizontalSize = 2;
    teeChart1.Series(0).asLine.Pointer.VerticalSize = 2;

    //坐标点是否可见
    teeChart1.Series(0).asLine.Pointer.Pen.Visible = false;

    //设置所有坐标点的颜色

    //红色
    UInt32 colorRed = (uint)(((uint)0 << 16) | (ushort)(((ushort)0 << 8) | 255));
    //黄色
    UInt32 colorYellow = (uint)(((uint)0 << 16) | (ushort)(((ushort)255 << 8) | 255));

    //内部填充

    teeChart1.Series(0).asLine.Pointer.Brush.Color = colorRed;

    //边框的颜色
    teeChart1.Series(0).asLine.Pointer.Pen.Color = colorRed;

    //设置单个坐标点的颜色(i是哪个坐标点)可以在描点的时候进行设置

    teeChart1.Series(0).PointColor[i] = colorRed;

     //找到图上描点的最大值和最小值

    YMax = teeChart1.Series(0).YValues.Maximum;
    YMin = teeChart1.Series(0).YValues.Minimum;

  • 相关阅读:
    Java编译器API简介
    liblinear和libsvm区别
    spark和hadoop比较
    maxout激活函数
    FTRL算法
    NLP里面好的学习资料
    阿里妈妈MLR模型(论文)
    FM的推导原理--推荐系统
    GBDT+LR simple例子
    深度学习最全优化方法---来源于知乎
  • 原文地址:https://www.cnblogs.com/lypstudy/p/14857822.html
Copyright © 2011-2022 走看看