Group: Forum Members
Last Active: 12 Years Ago
Posts: 11,
Visits: 1
|
Hi Team, I have a custom legend with fixed two column. In Column1,Row1 I want the text (Value1) and in Column2,Row1 I want number (10) similarly for Column 12,Row2 I want the text (Value2) and in Column2,Row2 I want (20).... legend.Data.ExpandMode = LegendExpandMode.ColsFixed;legend.Data.ColCount = 2; for (int i = 1; i <= 4; i++){ NLegendItemCellData ldi = new NLegendItemCellData(); ldi.Text = "Value " + i.ToString();ldi.MarkShape = LegendMarkShape.None;ldi.MarkLineStyle.Width = new NLength(0); //ldi.dalegend.Data.Items.Add(ldi); } How to achieve the same? Please share your input. Thanks, Jeba
|