会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
我的记事本
东搜搜西搜搜
TeeChart Point颜色设置与Tip
using Steema.TeeChart.Tools;
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
;
//
是否显示点
/**/
/*
点颜色
*/
templine1.Pointer.Brush.Style
=
System.Drawing.Drawing2D.HatchStyle.Percent90;
templine1.Pointer.Brush.Color
=
Color.Red;
templine1.Pointer.Brush.ForegroundColor
=
Color.Red;
/**/
/*
提示框
*/
Steema.TeeChart.Tools.MarksTip markstip
=
new
MarksTip(tChart1.Chart);
markstip.Series
=
templine1;
markstip.Style
=
MarksStyles.XY;
tChart1.Series.Add(templine1);
//
无参构造时需要
发表于
2009-08-05 15:55
天高菜鸟飞
阅读(
1242
) 评论(
0
)
编辑
收藏
举报
会员力量,点亮园子希望
刷新页面
返回顶部
公告
导航
博客园
首页
新随笔
新文章
联系
订阅
管理