Styling the asp.net charting controls

倾然丶 夕夏残阳落幕 提交于 2019-12-06 01:52:35

问题


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

How can I make charts that look like this:

Instead of this:

EDIT: I've made some progress, since asking this question. 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

回答1:


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




回答2:


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



来源:https://stackoverflow.com/questions/2117583/styling-the-asp-net-charting-controls

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!