Posted 19 May 2020, 6:55 pm EST
- Updated 3 October 2022, 2:51 pm EST
Sir,
I have tested your solution and is is running perfectly allright. However I noticed that I am using a C1SplitterPanel where there are multiple Panels and each Panel is having 1 Chart (Dashboard Screen).
I have attached the screenshot of one Pie chart and marked the area where the tooltips are not visible. Following the modified code.
I have seen that is I enable the Baloon Tool Tip then the area become much smaller.
Dim FlexPieX As New FlexPie
FlexPieX.Text = sTileCaption
FlexPieX.Dock = DockStyle.Fill
'FlexPieX.Palette = Palette.Cocoa
''Binding FlexPie's AxisX to 'Value' so values appear in Horizontal axis
FlexPieX.BindingName = "CName"
FlexPieX.Binding = "CValue"
''Specify what and how to show data values
FlexPieX.DataLabel.Content = "{name}: {p:0}%"
'Specify where to position the data labels relative to pie slices
FlexPieX.DataLabel.Position = C1.Chart.PieLabelPosition.Radial
'FlexPieX.DataLabel.Overlapping = C1.Chart.OverlappingLabels.Show
''Setting FlexPie's Header
''FlexPieX.Header.Content = sReportCaption
'FlexPieX.Header.HorizontalAlignment = HorizontalAlignment.Center
'' Apply animation to pie chart
FlexPieX.AnimationSettings = C1.Chart.AnimationSettings.All
'FlexPieX.AnimationUpdate.Easing = C1.Chart.Easing.Swing
'FlexPieX.AnimationUpdate.Duration = 500
'FlexPieX.AnimationLoad.Type = C1.Chart.AnimationType.All
FlexPieX.InnerRadius = 0.5
FlexPieX.Offset = 0
'FlexPieX.ToolTip.Active = True
FlexPieX.ToolTip.Content = "{name} : {value}"
FlexPieX.Legend.Position = Position.Auto
FlexPieX.Legend.TextWrapping = TextWrapping.Truncate
FlexPieX.Legend.Orientation = C1.Chart.Orientation.Auto
FlexPieX.Legend.Position = Position.None
FlexPieX.ToolTip.IsBalloon = False
'Passing data in FlexPie
FlexPieX.DataSource = dt ' Data Table
PanelPIE.Controls.Add(xFlexPie)