When I have many legend items, I can see the "more..." label, but as a user - I expect to click it and see the whole legend - either by temporarily expanding the legened area, or as a tooltip.
Currently, the "more..." label is a little bti confusing.
Is that possible ?
HI ,
Could you please share us the C# code of the same. I am in need of this.
Please hep me.
Thanks,
Rajkumar.
HI,
Can I ask that does anyone implemented this work around.
Kindly please share me your experiences on this.
you could try expanding the legend temporarily by increasing its SpanPercentage property. or, use a PopupMenuTool and manually add items to match what would be displayed in the legend. there is no reliable, consistent way to get that information out of the chart, though.
Thanks for your help.
My purpose is to display the full menu - either as tooltip or as a pop-up form.
After I'm on the event (as you proposed) - how can I obtain the full menu, including fonts, colors, etc ?
try this solution to get the more indicator text to raise the ChartDataClicked event.
private void ultraChart1_ChartDrawItem(object sender, ChartDrawItemEventArgs e) { Text t = e.Primitive as Text; if (t != null) { string s = t.GetTextString(); if (s != null && s.ToLower().IndexOf("more") != -1) { t.Caps |= PCaps.HitTest; t.Chart = this.ultraChart1.ChartType; t.Row = t.Column = 0; } } } private void ultraChart1_ChartDataClicked(object sender, ChartDataEventArgs e) { Text t = e.Primitive as Text; if (t != null) { string s = t.GetTextString(); if (s != null && s.ToLower().IndexOf("more") != -1) { Console.WriteLine("you clicked the more indicator text"); } } }