开发者

Styling the asp.net charting controls

开发者 https://www.devze.com 2022-12-17 15:03 出处:网络
Using the ASP.Net Chart Controls, which are a subset of the Dundas Chart Controls, How can I make charts that look like this:

Using the ASP.Net Chart Controls, which are a subset of the Dundas Chart Controls,

How can I make charts that look like this:

Styling the asp.net charting controls

Instead of this:

Styling the asp.net charting controls

EDIT: I've made some progress, since asking this question.开发者_JAVA技巧 The styling elements that improve the default graph in both Dundas and MSChart are:

  • Round Corners on the chart container
  • Background colours and gradients on chart container
  • Transparency on column colours
  • Alignment of columns in the x axis (bizarely, MSChart defaults to z axis alignment)
  • Area 3D wall width


I know it's a bit late, but I was playing with the chart for a project I'm working on.

Color="#960080ff"

The first set of two digits in the color are for the alpha channel. I've got it set for 96 which is semi transparent.

enjoy


Try setting the Area3DStyle.Enable3D property to true.

More info about the 3D style can be found here: http://msdn.microsoft.com/en-us/library/dd489232%28VS.100%29.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消