This is a migrated thread and some comments may be shown as answers.

Slight transparent border around chart image

1 Answer 47 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 23 Jul 2012, 08:59 AM

Hi all,

I want to combine a chart image with two tabs above it (simple div tags) but there is always some space between my tab divs and the chart image. I have set the following properties for the chart:

radChart1.Appearance.Border.Visible = false;
radChart1.PlotArea.Appearance.Border.Visible = false;
radChart1.PlotArea.Appearance.Dimensions.Margins = new ChartMargins(0, 0, 0, 0);
radChart1.Chart.Appearance.Border.Visible = false; //I guess this is the same as radChart1.Appearance etc.

When I save the chart image and view it in Photoshop there is clearly a  transparent area around the image containing a slight shadow. This causes the space between my tabs and the chart. How can I remove that? The skin I use for the chart is 'DeepBlue'.

Oh, and I have seen the project 197844_webapplication9.zip but that also creates a small transparent area around the chart.

regards,

Peter

1 Answer, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 26 Jul 2012, 06:41 AM
Hi Peter,

May be I did not understand very well what your problem is, because the following should work just fine:

<telerik:RadChart runat="server" ID="RadChart1" AutoLayout="false" >
 <PlotArea>
  <Appearance Dimensions-Margins="0" />

Give it a try anyway, instead of the C# code you provided. I have attached an image of the output that I get with and without this setting. Let us know if this is the spacing that you are talking about. If you need further assistance I will ask that you provide us with a couple of snapshots of what you currently have and what are the results that you are after. 

All the best,
Petar Marchev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Chart (Obsolete)
Asked by
Peter
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or