Class Position

java.lang.Object
com.storedobject.chart.Position
All Implemented Interfaces:
ComponentProperty

public class Position extends Object implements ComponentProperty
Representation of a position within the chart display. Chart display always occupies a rectangular part of the screen and the size of this rectangle is determined by the methods used from Vaadin's HasSize on the chart (SOChart implements HasSize interface). Using the same standard used by CSS for absolute positioning, a part that supports positioning can use this class to define its positioning requirements within the chart's boundary. Only just enough details need to be set for both horizontal and vertical positions. For example: if "left" and "right" are specified, "width" will be automatically computed. Each attribute can use absolute pixels values or percentage values. For example, left = 30% means a horizontal position of 30% of the chart's width from the left edge of the chart.
Author:
Syam