Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
3D Pie chart Tool tip appearing far away from chart
posted

I am using Infragistics2.WebUI.UltraWebChart.v7.3(old version) in my core ASP.NET 3.5 application. I am creating 3D pie chart dynamically and adding it to the Panel control but on mouse hover facing a issue where tool tip appears far away from the chart. Here is my codePie chart Tool tip issue - 

Dim chart As UltraChart = New UltraChart()
Dim series As New NumericSeries()

series.Data.DataSource = proTable
series.Data.ValueColumn = "value"
series.Data.LabelColumn = "Name"
series.DataBind()
chart.Series.Add(series)
chart.ChartType = Infragistics.UltraChart.Shared.Styles.ChartType.PieChart3D
chart.Transform3D.XRotation = 36
chart.Height = Unit.Pixel(400)
chart.Width = Unit.Pixel(400)
chart.PieChart3D.RadiusFactor = 100
chart.PieChart.Labels.LeaderLinesVisible = False
chart.ColorModel.ModelStyle = Infragistics.UltraChart.Shared.Styles.ColorModels.PureRandom
chart.PieChart.Labels.Visible = True
chart.BackColor = Color.Transparent
chart.BorderColor = Color.Transparent

chart.PieChart.Labels.Format = Infragistics.UltraChart.Shared.Styles.PieLabelFormat.ItemLabel
chart.PieChart.Labels.FormatString = "<DATA_VALUE>"

chart.PieChart3D.Labels.Font = New Font("Microsoft Sans Serif", 10, FontStyle.Bold)
chart.Tooltips.Display = Infragistics.UltraChart.Shared.Styles.TooltipDisplay.MouseMove
chart.Tooltips.Format = Infragistics.UltraChart.Shared.Styles.TooltipStyle.Custom
chart.Tooltips.FormatString = "<ITEM_LABEL>"
chart.Tooltips.Overflow = Infragistics.UltraChart.Shared.Styles.TooltipOverflow.ChartArea
chart.Enabled = True
chart.EnableViewState = True

Panel1.Controls.Add(chart)