Please see the screen cap below for reference.
1) On the Legend, I'd like the first text to be lower - at the level of the top of the pie chart. Here is my current code for that:
Dim legend As New UltraItemLegend() Me.Controls.Add(legend) legend.Anchor = AnchorStyles.None legend.Dock = DockStyle.Right legend.Top = pieChart.Top legend.Height = 460 pieChart.Legend = legend legend.BringToFront()
2) When I mouseover other slices I do not get any mouseover text like I do with the UltraCategoryChart bar chart. It would be idea to see "Requested 45" for example when I mouseover the green area.
Thanks!
Forgot the example:
Hello Ted ,
Thank you for contacting.
For your 1st requirement you can try setting Piechart LabelsPosition property to ‘BestFit’ which will allow legend labels to automatically decide their location. Like this:
pieChart.LabelsPosition = LabelsPosition.BestFit;
For about your 2nd requirement, I believe you are talking about tooltip property of the chart, so did you enable that and still not able to get the labels when hover over ?
pieChart.ShowDefaultTooltip = true;
If yes then please provide a sample application to debug the code and find the cause of the issue.
Or you can update the sample I have created to test these behaviors.
Let me know if you have any question.
Sincerly,
Divya Jain
PieChart.zip