I've attempted to stop the legend appearing by remming out:
grp.FillRectangle(brs, perimeter + _bufferSpace, i * _legendFontHeight + 15, 10, 10)
grp.DrawString(item.Label, New Font(_legendFontStyle, _legendFontSize), New SolidBrush(Color.Black), perimeter + _bufferSpace + 20, i * _legendFontHeight + 13)
grp.DrawString(item.Value.ToString("C"), New Font(_legendFontStyle, _legendFontSize)
the legend still appears when I generate a pie chart. Any ideas? Bear in mind I'm programming with EditPlus rather than Visual Studio! Do I have to recompile the .dll to make the changes work
(and if so, how?)? thanks Steve Wilkinson
knee_boarder
Member
120 Points
47 Posts
Changes to piechart.vb
Feb 18, 2004 10:12 AM|LINK
grp.FillRectangle(brs, perimeter + _bufferSpace, i * _legendFontHeight + 15, 10, 10) grp.DrawString(item.Label, New Font(_legendFontStyle, _legendFontSize), New SolidBrush(Color.Black), perimeter + _bufferSpace + 20, i * _legendFontHeight + 13) grp.DrawString(item.Value.ToString("C"), New Font(_legendFontStyle, _legendFontSize)the legend still appears when I generate a pie chart. Any ideas? Bear in mind I'm programming with EditPlus rather than Visual Studio! Do I have to recompile the .dll to make the changes work (and if so, how?)? thanks Steve Wilkinson