Hi,
I am struggling to work out the best way to format some Legends. I have set-up the following:
1. 7 stacking charts and I have used NGuidleine to align them.
2. I would like the Legends for each chart to be side-by-side with the relevant chart.
3. The top chart will have an unknown number of items in the legend (in the attached picture it has 11). This is why I have set a fixed row size.
4. All other charts will have Legends with fixed numbers of items.
5. I have attached what I get with the following code
Legend.Location =
New NPointL(Point.X, Point.Y)Legend.Data.ExpandMode = LegendExpandMode.RowsFixed
Legend.Data.RowCount = 4
Legend.UseAutomaticSize =
FalseLegend.Size =
New NSizeL(New NLength(18, NRelativeUnit.ParentPercentage), New NLength(10, NRelativeUnit.ParentPercentage))Legend.BoundsMode = BoundsMode.Fit
Legend.ContentAlignment = ContentAlignment.BottomRight
I have tried to use a one-size fits all approach, but this doesn't look too good. I was just wondering if anyone had any better ways of presenting the Legends, as I am currently struggling with the BoundsMode, Legend Size etc. I would like them to look more consistent, with perhaps the same font size, but from what I can see the font size is determined by the size of the Legend box.
As I said, any help or advice appreciated on better ways of presenting my Legends.
Thanks,
Marcus