Styling the asp.net charting controls

10,970

Solution 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

Solution 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

Share:
10,970
grenade
Author by

grenade

biker, sailor, hacker, iconoclast

Updated on June 14, 2022

Comments

  • grenade
    grenade almost 2 years

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

    How can I make charts that look like this:

    alt text

    Instead of this:

    MS Chart Example

    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