StaticSizeFrame.setSize(value)
Specifies the static size for graphical elements. For point and line graphs, this is the size (in pixels) of the elements. For schema and bar graphs, the value specified for the size property is relative to the SizeFrame.setMax(value) value (default = 30). For example, if size=50 and max=100, the graphical elements are displayed at one half of the maximum allowable size.
If the data in the column assigned to the inherited VisualFrame.setField(field) property are positive values, these data values are used instead of StaticSizeFrame.size.
Parameter
value Number of pixels, or relative size
Note: Report script that modifies 'bindingInfo' should be placed in the onLoad handler.
Example (Report)
Bind a point-type chart to the sample 'All Sales' query, with 'Company' (top 5) on the X-axis, and Sum(Total) on the Y-axis. Add the following script in the onLoad handler.
Chart1.bindingInfo.setSizeField("Company",Chart.STRING);
Chart1.bindingInfo.sizeFrame = new StaticSizeFrame;
Chart1.bindingInfo.sizeFrame.size = 30;

Note: Script that modifies 'graph' should be placed at the element level. See Adding Element-Level Script in Report Scripting and Adding Component Script in Dashboard Scripting for more information.
Example (Report or Viewsheet)
dataset = [["State","Quantity"], ["NJ",200], ["NY",300]];
graph = new EGraph();
var elem = new IntervalElement("State", "Quantity")
var frame = new StaticSizeFrame();
frame.setMax(100);
frame.setSize(50);
elem.setSizeFrame(frame);
graph.addElement(elem);

Inherits from
SizeFrame: setLargest, setMax, setSmallest
VisualFrame: setField, setLegendSpec, setScale, setScaleOption
See Also
DataSet, to use a Data Block or query as the dataset source.
| << CR.7.14 StaticSizeFrame | © 1996-2013 InetSoft Technology Corporation (v11.5) | CR.7.15 LinearSizeFrame >> |