or
chart1.DataSource = linqToSQL.TableItems.GroupBy(g => g.ColumnInt)
.Select(s => new Item { count = s.Count(), name = s.First().Name })
.OrderByDescending(o => o.count).Take(10);class Item
{ public int count { get; set; } public string name { get; set; }}Here is some of the code I use to make the connecting-line appear but nothing helps:
serie.Appearance.LabelAppearance.Visible = true;
serie.Appearance.LabelAppearance.LabelConnectorStyle.Visible = true;
serie.Appearance.ShowLabels = true;
serie.Appearance.LabelAppearance.LabelConnectorStyle.PenStyle = System.Drawing.Drawing2D.DashStyle.Solid;
serie.Appearance.LabelAppearance.LabelConnectorStyle.Width = 2;