Legend.TopPos
Posted: Tue Dec 09, 2008 4:52 pm
Folks,
Question concerning Legend.TopPos.
With Chart1.Legend.Alignment set to either Top or Bottom (laTop or laBottom), a value of 0 for TopPos automatically centers the legend rect horizontally within the chart. Lovely. The left side of the legend is not set at the 0'th coordinate, the Legend is centered within the "row".
Now (you know what's coming next, don't you?!) ... if Legend.Alignment is Left or Right, a value of 0 does not center it vertically, it positions the Legend's top effectively at the top of the chart. That seems inconstent, let alone fun to explain to users: "A value of 0 for "Legend position adjust" automatically centers the Legend if you're aligning it Top or Bottom. But if you're positioning the Legend Left or Right? A value of 0 for the Legend position adjust places it at the top of the chart."
Help indicates:
Thank you so much...
richard diamond
Question concerning Legend.TopPos.
With Chart1.Legend.Alignment set to either Top or Bottom (laTop or laBottom), a value of 0 for TopPos automatically centers the legend rect horizontally within the chart. Lovely. The left side of the legend is not set at the 0'th coordinate, the Legend is centered within the "row".
Now (you know what's coming next, don't you?!) ... if Legend.Alignment is Left or Right, a value of 0 does not center it vertically, it positions the Legend's top effectively at the top of the chart. That seems inconstent, let alone fun to explain to users: "A value of 0 for "Legend position adjust" automatically centers the Legend if you're aligning it Top or Bottom. But if you're positioning the Legend Left or Right? A value of 0 for the Legend position adjust places it at the top of the chart."
Help indicates:
Can you help explain what's seen as an inconconsistency by my users of a 0 value (beautifully) centering the Legend horizontally for Top- or Bottom- aligned Legends, but for Left- or Right-aligned Legends a zero value places the Legend at the chart's top, rather than centered vertically? I'm not finding the right words to properly explain it to them!The TopPos property specifies the Legend's top (or left) position as a percentage of the total chart height (or width).
When the Alignment property is laLeft or laRight (vertical Legend), the TopPos property increments the Top Legend position by a percentage of the total chart height.
For laTop or laBottom Legend alignments (horizontal Legend), the TopPos property increments the Legend's Left position.
Thank you so much...
richard diamond