JMartin47 Posted November 12, 2007 Report Share Posted November 12, 2007 We are developing applications using your components and I have a problem with the legend markers. The problem is that the markers in the plot are being drawn in the right size, but they are not being drawn correctly in the legend. How can I change the legeng marker size? Link to comment Share on other sites More sharing options...
maximop Posted November 12, 2007 Report Share Posted November 12, 2007 The legend marker size cannot be changed. What you can do, however, is create your own UserLegendBox which shows a sligthly bigger marker within the legend. You can try the following: chart1.UserLegendBox = true; UserLegendBoxItem item1 = chart1.UserLegendBoxObj.Item[0];item1.Label = "New Legend Item"; item1.MarkerShape = MarkerShape.Marble; Link to comment Share on other sites More sharing options...
JMartin47 Posted November 12, 2007 Author Report Share Posted November 12, 2007 I tried to do that, but it is not working. The problem is that we have small markers in the plot (size 2), and the user wants to have the same size for the legend marker size. Any other suggestion? Cheers Link to comment Share on other sites More sharing options...
maximop Posted November 12, 2007 Report Share Posted November 12, 2007 Unfortunately, changing the size of a legend box item is not possible by design. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.