.NET Framework Bookmark and Share   
 index > Chart Controls for .NET Framework > "False Border" on Charts
 

"False Border" on Charts

I am using the chart control. It is awesome. However, if I use a Border Skin (any style but most noticeable with "emboss") and set the PageColor to transparent I get a "false border" on the image's top and left edges. This "false border" is whatever color is set for the back color of the chart.

The chart image is shown below. I believe that this is a bug with the chart control.


Chart with False Borders
EL_MOJO
We were able to reproduce this issue and we logit in our tracking system. It is pending developer investigation... If it is the control bug it will be addressed in the DEV 10 time frame. For now, I hope the workaround with a solid color works for you.

Alex.
http://blogs.msdn.com/alexgor
Alex Gorev
I recommend you just set the PageColor property to a solid color. You can also try setting BorderLineWidth to zero.

Alex.
http://blogs.msdn.com/alexgor
Alex Gorev
I could easily set the PageColor to the color that is on the background of my website, however that kind of defeats the purpose. It doesn't make the web page style easily customizable. I have already set the BorderlineWidth to zero. The issue I am having is not a real border I believe it is a bug in the rendering of the chart when the Transparent color is used for the BorderSkin PageColor.

<asp:ChartID="chartPnL"Visible="false"runat="server"BackColor="Gold"ImageType="Png"
ImageStorageMode="UseImageLocation"ImageLocation="~/Temp/ChartPic_#SEQ(300,3)"
Width="500px"Height="400px"BorderDashStyle="Solid"BackGradientStyle="TopBottom"
BorderWidth="0"BorderColor="Black"BackSecondaryColor="White"
BorderlineWidth="0"BorderlineColor="Transparent">
...
<BorderSkinSkinStyle="Emboss"PageColor="Transparent"
BorderColor="Transparent"BorderWidth="0"></BorderSkin>
...
</asp:Chart>

  • Edited byEL_MOJO Tuesday, February 03, 2009 5:46 PM
  •  
EL_MOJO
We will definitely investigate this issue and if it is a confirmed bug we will fix it. Meanwhile, I was trying to come up with the workaround.

Alex.
http://blogs.msdn.com/alexgor
Alex Gorev
We were able to reproduce this issue and we logit in our tracking system. It is pending developer investigation... If it is the control bug it will be addressed in the DEV 10 time frame. For now, I hope the workaround with a solid color works for you.

Alex.
http://blogs.msdn.com/alexgor
Alex Gorev
Thank you for this investigation and consideration, and also for the timely response.
EL_MOJO
Was this issue ever resolved? I'm having, I believe, the same problem where I have the page back color set to anything but white and I have a chart that uses an emboss BorderSkinStyle. For example:



I'd like to be able to use a page back color other than white.
im1dermike
Just set Chart.BorderSkin.PageColor property to the desired background color.

Alex.
http://blogs.msdn.com/alexgor
Alex Gorev
Cool. I thought I had tried that and it didn't work, but I guess now. Thanks a lot.
im1dermike
hi

How can upload the pictures..
this is important for me.

regards
srazreddy
How can upload the pictures..
What could this possibly mean?
im1dermike

hi,

sorry for using wrong word.Like above case ,I wanted to upload Chart Image(Diagram).Bec In this Area I am able to paste any type of digram except TEXT.

In which Format ,I can do that.

regards,

srazreddy

You can use google to search for other answers

Custom Search

More Threads

• DataBindCrossTable giving a IEnumerable error
• Data points insertion error. Only 1 Y values can be set for this data series.
• stock Intraday chart on multiple day
• Connecting lines for supplemental pie chart?
• asp.net Chart Controls on a user control in MVC
• Deploying charts with older Framework versions
• Financial Formula
• new Chart() locking up sometimes
• The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) Word interop on RE-open
• Bar Charts Question