Posted on: 2/13/2014 3:43:50 AM | Views : 768

I am trying to format asp:chart background colors and I am having a hell of a time trying to figure this one out. I have the chart in a <div style="background-color: Gray"> with all other backgrounds set to gray, but I am missing a layer somewhere, because the area inbetween the chart and div is white.  Can someone spot the attribute I am missing? Thanks
 

protected void Page_Load(object sender, EventArgs e) { List<MonthlyAvePrice> mAvePrice = MonthlyAvePrice.GetAvePrice(); string szYear = ""; Chart2.Width = 470; Chart2.Palette = ChartColorPalette.Excel; Chart2.BackColor = Color.Gray; Chart2.BorderSkin.SkinStyle = BorderSkinStyle.Emboss; Chart2.BorderlineColor = Color.Gray; Chart2.BorderlineDashStyle = ChartDashStyle.Solid; Chart2.BorderlineWidth = 4; // Set the ChartArea properties ...

Go to the complete details ...