Jump to content
Software FX Community

Pie 100% pie-chart lost 3d-thickness


MJensen

Recommended Posts

Hi,

I have a problem with a pie-chart that looses it's thickness and/or 3d-effect. It seems like it only occures if the pie is 100% with one point and loaded first time. selecting another view makes the graph look like attended. The link below shows the actual live graph with stying:

http://213.173.229.6/LaanOgSpar_mix/FactSheet.aspx?ISIN=DK0010301167 

The same code is styling for both the onchange-event and "Page_Load" section.

It looks to me like the chart is not rendered correctly for som reason.

The styling of the chart is set in the code-behind like below:

grafAktivfordeling.Reset();

grafAktivfordeling.AllSeries.MarkerShape = MarkerShape.None;

grafAktivfordeling.AllSeries.Border.Width = 0;

grafAktivfordeling.AllSeries.Line.Width = 2;

grafAktivfordeling.DataGrid.BackColor = Color.Transparent;

grafAktivfordeling.Height =

Unit.Pixel(250);grafAktivfordeling.Width = Unit.Pixel(475);

grafAktivfordeling.AxesStyle =

AxesStyle.None;grafAktivfordeling.ImageSettings.Interactive = false;

grafAktivfordeling.ImageSettings.ToolTips =

ImageToolTipStyle.None;grafAktivfordeling.ToolTips = false;

grafAktivfordeling.ContextMenus =

false;grafAktivfordeling.PlotAreaColor = Color.Transparent;

grafAktivfordeling.LegendBox.Visible =

true;grafAktivfordeling.LegendBox.Border = DockBorder.None;

grafAktivfordeling.Gallery =

Gallery.Pie;grafAktivfordeling.View3D.AngleX = 20;

grafAktivfordeling.View3D.AngleY = 90;

grafAktivfordeling.View3D.Rotated = true;

grafAktivfordeling.View3D.Depth = 10;

grafAktivfordeling.Background = new ChartFX.WebForms.Adornments.SolidBackground();

grafAktivfordeling.Border =

new ChartFX.WebForms.Adornments.SimpleBorder(ChartFX.WebForms.Adornments.SimpleBorderType.None);this.grafAktivfordeling.Points[0].Color = Color.FromArgb(109, 111, 113);

this.grafAktivfordeling.Points[1].Color = Color.FromArgb(188, 190, 192);this.grafAktivfordeling.Points[2].Color = Color.FromArgb(232, 029, 049);

this.grafAktivfordeling.Points[3].Color = Color.FromArgb(231, 219, 203);this.grafAktivfordeling.Points[4].Color = Color.FromArgb(116, 145, 170);

this.grafAktivfordeling.Points[5].Color = Color.FromArgb(243, 237, 229);

this.grafAktivfordeling.Points[6].Color = Color.FromArgb(000, 000, 000);
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...