MindFusion.Charting for JavaScript Programmer's Guide
Unit Members
Constructors Properties Methods
 


Represents a length measurement.

The following tables list the members exposed by the Unit type.

 Public Constructors

  Name Description

Unit

Initializes a new instance of the Unit class.

 Public Properties

  Name Description

isEmpty

Gets a value representing whether this Unit instance has a set value.

type

The unit type.

value

The unit value.

 Public Methods

  Name Description

empty

Creates an empty Unit instance.

parse

Creates a Unit instance from a string representation.

percentage

Creates a Unit instance with the specified value and UnitType.Percent.

pixel

Creates a Unit instance with the specified value and UnitType.Pixel.

toString

Returns a string representation of this Unit.

 See Also

Unit Class
MindFusion.Common Namespace