• 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;

  • 相关阅读:
    获取并设置ListView高度的方法
    Android的webview加载本地html、本apk内html和远程URL
    Android
    jQuery通知插件noty
    腾讯地图之Marker
    星星打分
    eval以及json
    PHP json_encode
    javascript 检测密码强度 美化版
    javascript 检测密码强度
  • 原文地址:https://www.cnblogs.com/lypstudy/p/14857822.html
Copyright © 2020-2023  润新知