Hi
I'm generating a report with a 3D PieChart which takes four values:
This is my code:
------------------
if (dt.Rows.Count > 0)
{
this.UltraChart9.TitleTop.Text = strNombrePrograma + " - " + intTotalComunicaciones.ToString() + " COMUNICACIONES RECIBIDAS EN " + strNombreMes + " DE " + this.ddlAnio.SelectedItem.Value;
this.UltraChart9.TitleTop.HorizontalAlign = StringAlignment.Center;
this.UltraChart9.TitleTop.Font = new Font("Trebuchet MS", 12.0F, FontStyle.Bold);
this.UltraChart9.TitleTop.FontColor = Color.DarkBlue;
this.UltraChart9.PieChart3D.BreakAlternatingSlices = false;
this.UltraChart9.PieChart3D.BreakAllSlices = false;
this.UltraChart9.PieChart3D.BreakDistancePercentage = 10;
this.UltraChart9.PieChart3D.PieThickness = 20;
this.UltraChart9.PieChart3D.StartAngle = 120;
this.UltraChart9.PieChart3D.ColumnIndex = 0;
this.UltraChart9.Tooltips.Format = Infragistics.UltraChart.Shared.Styles.TooltipStyle.Custom;
this.UltraChart9.Tooltips.FormatString = "<ITEM_LABEL>: <DATA_VALUE:#>";
this.UltraChart9.Tooltips.BackColor = Color.Black;
this.UltraChart9.Tooltips.FontColor = Color.White;
this.UltraChart9.Tooltips.BorderColor = Color.White;
this.UltraChart9.Tooltips.BorderThickness = 1;
this.UltraChart9.PieChart3D.Labels.FormatString = "<ITEM_LABEL>: <DATA_VALUE:#> (<PERCENT_VALUE:#>%)"; //"<DATA_VALUE:0.##>";
this.UltraChart9.PieChart3D.Labels.LeaderLineThickness = 2;
this.UltraChart9.PieChart3D.Labels.Font = new Font("Century Gothic", 9F, FontStyle.Regular);
this.UltraChart9.Transform3D.Scale = 100f;
this.UltraChart9.Transform3D.XRotation = 45f;
this.UltraChart9.Transform3D.YRotation = 12f;
this.UltraChart9.Transform3D.ZRotation = 0f;
Color[] lstColores = new[] { Color.BlueViolet, Color.LimeGreen, Color.DeepPink, Color.Goldenrod, Color.BurlyWood };
this.UltraChart9.ColorModel.ModelStyle = Infragistics.UltraChart.Shared.Styles.ColorModels.CustomLinear;
this.UltraChart9.ColorModel.CustomPalette = lstColores;
this.UltraChart9.Data.DataSource = dt.DefaultView;
this.UltraChart9.Data.DataBind();
}
--------------------------------
But to generate the graph shown as follows:
I do not understand because it shows the data "Others"?
There is a limit of percentage?
Thanks for your help!!
Rafael
https://www.infragistics.com/community/forums/f/ultimate-ui-for-asp-net/30486/pie-chart-others-slice/167226#167226
Great. Thank you very much!