Hi,I'm using Infragistics version '6.2.20062.1054' in an ASP .NET Web Application (CLR 2.0).In the application, I use a piechart in one of the pages. A problem occurs when using tooltips on the PieChart3D.I want to display the ITEM_LABELs as tooltips. So I set the object 'myUltraChart' of type Infragistics.WebUI.UltraWebChart.UltraChart' as followsmyUltraChart.ChartType = Infragistics.UltraChart.Shared.Styles.ChartType.PieChart3D;myUltraChart.Format = Infragistics.UltraChart.Shared.Styles.TooltipStyle.Custom;myUltraChart.Tooltips.FormatString = "<ITEM_LABEL>";and then set its DataSource to a DataSet with one table with 2 columns, first with string text and second with numbers.and then finally I DataBind() the UltraChart.Besides these, I've set some styling properties in the .aspx side (axis, etc.).The piechart comes up fine with the data & it’s legend BUT the tooltips comes up blank.The ITEM_LABEL, DATA_VALUE, PERCENT_VALUE, etc. are diplayed fine in the legend of the chart just as I’ve formatted them.I changed the ChartType from 'PieChart3D' to 'PieChart' and then the ITEM_LABEL Tooltip came up fine.I changed the ChartType back to 'PieChart3D' and then changed the FormatString of the UltraChart as:myUltraChart.Tooltips.FormatString = "SERIES_LABEL: '<SERIES_LABEL>'\nITEM_LABEL: '<ITEM_LABEL>'\nPERCENT_VALUE: '<PERCENT_VALUE>'\nDATA_VALUE: '<DATA_VALUE>'";After this, the SERIES_LABEL & ITEM_LABEL come up blank as before, where as I get correct values for PERCENT_VALUE and DATA_VALUE.Is this a known issue with ToolTips & PieChart3D in Infragistics version 6.2.20062.1054 ?Or are ITEM_LABELs not allowed for use in Tooltips with ChartType of PieChart3D ?Or am I doing something wrong here ?Please feel free to ask for any more information if required. I appreciate your help.Waiting,
This should be addressed in the latest available hotfix for 6.2. You can download it from our website:https://ko.infragistics.com/my-account/keys-and-downloads
Yup. The problem does not occur after updating with hotfix 6.2.20062.1083. Thanks.
I am using version Build Version: 6.3.20063.53 and this issue has appeared to have come back. Same exact behavior, ITEM_LABLE is blank on a 3D Pie Chart, but fine a regular Pie Chart.
What should I do, I have a release tomorrow and need help.
Thanks!
Doh! I've actually been caught out doing this before - you would think that I'd learn!
Thanks for your help
See Below. The result set from the query is ~ 10 rows with a 2 columns; a text label and a currency value 0 - 1,000,000.
Thanks,
{
string conn = "Data Source=CWBSSQL5;Initial Catalog=son_db;Integrated Security=True";
string dateTo = DateTime.Now.ToString("dd/MM/yyyy");
SqlDataSource sqlDataSrc = new SqlDataSource("System.Data.SqlClient", conn, comm);
Infragistics.WebUI.UltraWebChart.UltraChart UltraChart1 = new Infragistics.WebUI.UltraWebChart.UltraChart();
UltraChart1.Border.Thickness = 0;
UltraChart1.ChartType = Infragistics.UltraChart.Shared.Styles.ChartType.PieChart3D;
UltraChart1.Height = Unit.Pixel(400);
UltraChart1.Transform3D.Perspective = 30.0f;
UltraChart1.Transform3D.Scale = 100.0f;
UltraChart1.Transform3D.XRotation = 18.0f;
UltraChart1.Transform3D.YRotation = -28.0f;
UltraChart1.Tooltips.Format = Infragistics.UltraChart.Shared.Styles.TooltipStyle.Custom;
UltraChart1.ColorModel.ModelStyle = Infragistics.UltraChart.Shared.Styles.ColorModels.CustomLinear;
UltraChart1.ColorModel.CustomPalette = new Color[ {
Color.Blue,
Color.Yellow,
Color.Orange,
Color.Navy,
Color.Coral,
Color.DarkKhaki,
Color.LightSteelBlue,
};
Infragistics.UltraChart.Resources.Appearance.GradientEffect grad = new Infragistics.UltraChart.Resources.Appearance.GradientEffect();
UltraChart1.Effects.Add(grad);
UltraChart1.Axis.PE.ElementType = Infragistics.UltraChart.Shared.Styles.PaintElementType.None;
UltraChart1.Axis.Z.Visible = false;
UltraChart1.Axis.X.Visible = false;
UltraChart1.Axis.Y.Visible = false;
UltraChart1.Legend.Location = Infragistics.UltraChart.Shared.Styles.LegendLocation.Left;
UltraChart1.Legend.BackgroundColor = Color.FromArgb(0xf4f4f4);
this.Controls.Add(sqlDataSrc);
UltraChart1.Data.DataBind();
}
UltraChart1.ChartType = ChartType.PieChart3D;UltraChart1.Tooltips.FormatString = "<ITEM_LABEL>";DataTable dt = new DataTable();dt.Columns.Add("col1", typeof(string));dt.Columns.Add("col2", typeof(int));dt.Rows.Add(new object[ { "item 1", 10 });dt.Rows.Add(new object[ { "item 2", 20 });dt.Rows.Add(new object[ { "item 3", 30 });UltraChart1.Data.DataSource = dt;UltraChart1.Data.DataBind();