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;

  • 相关阅读:
    把swf反编译成fla的几种方法
    隐藏tomcat页面异常显示的版本信息
    配置Tomcat-8.5 JVM内存参数
    Nim Game
    Longest Increasing Path in a Matrix
    信息熵和信息增益
    故乡的云
    urllib编码
    odd_even_list
    Different Ways to Add Parentheses
  • 原文地址:https://www.cnblogs.com/lypstudy/p/14857822.html
Copyright © 2011-2022 走看看