Clear Up
SharpKit Reference

LegendConfig Class

Namespace: Ext.chart

Base Types

System.Object

Constructors

Name Description
LegendConfig(Object[])

Fields

Name Description
boxFill Fill style for the legend box Defaults to: "#FFF"
boxStroke Style of the stroke for the legend box Defaults to: "#000"
boxStrokeWidth Width of the stroke for the legend box Defaults to: 1
boxZIndex Sets the z-index for the legend. Defaults to 100. Defaults to: 100
itemSpacing Amount of space between legend items Defaults to: 10
labelColor Color to be used for the legend labels, eg '#000' Defaults to: "#000"
labelFont Font to be used for the legend labels, eg '12px Helvetica' Defaults to: "12px Helvetica, sans-serif"
padding Amount of padding between the legend box's border and its items Defaults to: 5
position The position of the legend in relation to the chart. One of: "top", "bottom", "left", "right", or "float". If set to "float", then the legend box will be positioned at the point denoted by the x and y parameters. Defaults to: "bottom"
update If set to true the legend will be refreshed when the chart is. This is useful to update the legend items if series are added/removed/updated from the chart. Default is true. Defaults to: true
visible Whether or not the legend should be displayed. Defaults to: true
x X-position of the legend box. Used directly if position is set to "float", otherwise it will be calculated dynamically. Defaults to: 0
y Y-position of the legend box. Used directly if position is set to "float", otherwise it will be calculated dynamically. Defaults to: 0
© Copyright 2005-2011 SharpKit. All rights reserved.