ChartDirector 6.0 (ASP/COM/VB Edition)
setKeySpacing(keySpacing [, lineSpacing ])
Sets the distance between two legend entries.
In horizontal legend layout, the legend entries will flow from left to right, top to bottom, with a horizontal gap between two legend entries. In vertical legend layout, the legend entries will flow from top to bottom, with one entry per line.
By default, the horizontal gap and the line spacing is automatically determined based on font size. This method can be used to set the horizontal gap and line spacing in pixels.
|keySpacing||(Mandatory)||The horizontal gap between two legend entries for horizontal legend layout, expressed in pixels.|
|lineSpacing||-1||The line spacing between two lines in the legend box, expressed in pixels. -1 means the line spacing is automatically determined.
© 2017 Advanced Software Engineering Limited. All rights reserved.