Jump to content
Software FX Community

Control the series line width inside the legend box


User (Legacy)

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...