LogScale.setBase(value)
Specifies the base of the logarithmic scale. The default is 10.
Parameter
value a number specifying the logarithm base
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",12], ["NY",450]];
graph = new EGraph();
var qscale = new LogScale("Quantity");
var elem = new IntervalElement("State", "Quantity")
qscale.setBase(2);
graph.setScale("Quantity", qscale);
graph.addElement(elem);

Inherits from
LinearScale: setIncrement, setMax, setMin, setMinorIncrement, setReversed, setScaleRange
See Also
DataSet, to use a Data Block or query as the dataset source.
| << CR.6.10 LogScale | © 1996-2013 InetSoft Technology Corporation (v11.5) | CR.6.11 PowerScale >> |