TeeChart Point颜色设置与Tip

using Steema.TeeChart.Tools;

ContractedBlock.gif ExpandedBlockStart.gif Code

 Steema.TeeChart.Styles.Line templine1 
= new Steema.TeeChart.Styles.Line(tChart1.Chart);
 templine1.LinePen.Width 
= 1;//笔刷宽度
 templine1.Depth = 0;//纵深(个人理解),为0时显示的是2D线
 templine1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Sphere;//点样式
 templine1.Pointer.VertSize = 5;//
 templine1.Pointer.HorizSize = 5;//
 templine1.Pointer.Visible = true;// 是否显示点

ExpandedBlockStart.gifContractedBlock.gif 
/**//*点颜色*/
 templine1.Pointer.Brush.Style 
= System.Drawing.Drawing2D.HatchStyle.Percent90;
 templine1.Pointer.Brush.Color 
= Color.Red;
 templine1.Pointer.Brush.ForegroundColor 
= Color.Red;

ExpandedBlockStart.gifContractedBlock.gif 
/**//*提示框*/
 Steema.TeeChart.Tools.MarksTip markstip 
= new MarksTip(tChart1.Chart);
 markstip.Series 
= templine1;
 markstip.Style 
= MarksStyles.XY;

 tChart1.Series.Add(templine1);
//无参构造时需要

转载于:https://www.cnblogs.com/as311011/archive/2009/08/05/1539651.html

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值