在Asp.chart控件中删除边框 [英] Remove border in Asp.chart control

查看:58
本文介绍了在Asp.chart控件中删除边框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只想在asp.chart控件中删除边框.
谢谢

I just want to remove border in asp.chart control.
Thanks

推荐答案

此链接可能对您有帮助
http://asp-net-example.blogspot. in/2010/09/how-to-set-change-chart-borderlinewidth.html [ http://forums.asp.net/t/1128776.aspx/1 [ ^ ]

谢谢
--RA
This links may helps you
http://asp-net-example.blogspot.in/2010/09/how-to-set-change-chart-borderlinewidth.html[^]

http://forums.asp.net/t/1128776.aspx/1[^]

Thanks
--RA


这可能对您有用

asp.chart控件的完整参考

http://www.4guysfromrolla.com/articles/072209-1.aspx [ ^ ]

谢谢
SP
This may useful to you

Complete reference for asp.chart control

http://www.4guysfromrolla.com/articles/072209-1.aspx[^]

Thanks
SP


朋友,

利用此代码:
Hi Friend,

Take advantage from this Code:
using System.Web.UI.DataVisualization.Charting;
...
<pre lang="c#">
private void Page_Load(object sender, System.EventArgs e)
{
    // Set Border Skin
    Chart1.BorderSkin.SkinStyle = BorderSkinStyle.FrameThin6;

    // Set Background Primary Color
    Chart1.BorderSkin.BackColor = Color.Red;

    // Set Background Secondary Color
    Chart1.BorderSkin.BackSecondaryColor = Color.Blue;

    // Set Hatch Style
    Chart1.BorderSkin.BackHatchStyle = ChartHatchStyle.DarkVertical;

    // Set Gradi<pre lang="c#">

ent类型
Chart1.BorderSkin.BackGradientStyle = GradientStyle.DiagonalRight;

//设置边框颜色
Chart1.BorderSkin.BorderColor =颜色.黄色;

//设置边框样式
Chart1.BorderSkin.BorderDashStyle = ChartDashStyle.Solid;

//设置边框宽度
Chart1.BorderSkin.BorderWidth = 2;
}

ent Type
Chart1.BorderSkin.BackGradientStyle = GradientStyle.DiagonalRight;

// Set Border Color
Chart1.BorderSkin.BorderColor = Color.Yellow;

// Set Border Style
Chart1.BorderSkin.BorderDashStyle = ChartDashStyle.Solid;

// Set Border Width
Chart1.BorderSkin.BorderWidth = 2;
}


这篇关于在Asp.chart控件中删除边框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆