User (Legacy) Posted February 3, 2006 Report Share Posted February 3, 2006 Hi, Is there a way to control the legend box's series width? The legend box line width is affected by the series line width. Is there a way to seperate them? Meaning, if i set a line series width to 1 and i want to set its width in the legend box to 2, is that possible?? Thanks! Link to comment Share on other sites More sharing options...
Software FX Posted February 3, 2006 Report Share Posted February 3, 2006 You can create a separate entry in the legend box, a custom item, and set the attributes, including line width independently. For example: CustomLegendItem item = new CustomLegendItem(); item.Attributes.Line.Width = 5; item.Attributes.Color = Color.Red; item.Attributes.MarkerShape = MarkerShape.Circle; item.Text = "Custom Item"; item.ShowLine = true; chart1.LegendBox.CustomItems.Add(item); -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.