ChartDirector 6.2 (.NET Edition)
public void setKeySize(int width [, int height [, int gap ]]);
Public Sub setKeySize(width As Integer [, height As Integer [, gap As Integer ]])
Sets the size of the legend icon and its distance from the legend text.
Each legend entry consists of an icon and a text description. By default, the size of the icon and its distance from the text is determined automatically based on font size. This method can be used to override the default.
|width||(Mandatory)||The width of the legend icon in pixels.|
|height||-1||The height of the legend icon in pixels. -1 means the height is automatically determined.|
|gap||-1||The distance between the legend icon and the legend text in pixels. -1 means the distance is automatically determined.
© 2017 Advanced Software Engineering Limited. All rights reserved.