The padding around the legend separates it from the container in much the same way as cells in a table are padded apart from one another.
The value can be specified as a floating point value followed by a unit of measure indicator. These indicators are valid:
cm
mm
in
pt
pc
px
The em and ex relative unit of measure are also available as well as a percentage value measured against the width of the parent container.
See also: | Measurement units |
Prev | Home | Next |
Legend.align | Up | length |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |