I made a modification, basically adding more colors so that the _colorLimit is now 24. Now I need to have the legend acommodate that many data items. Right now it cuts off a handful of legend items and the Totals. In PieChart.vb > CalculateLegendWidthHeight()
sub I changed: _legendHeight = fontLegend.Height * (_chartItems.count + 1) to _legendHeight = fontLegend.Height * (_chartItems.count + 12) This lengthens the legend, but the pie chart grows as well and is HUGE. How do I lengthen the legend while keeping the
pie the original size?? Thanks, - Dan
dblasi
Member
25 Points
5 Posts
Pie chart legend and pie size
Jan 30, 2004 03:45 PM|LINK