business intelligence vendor

InetSoft Product Information: Visualization API

IntervalElement.addInterval(lower,upper)

Adds a “floating” interval element (bar) with lower and upper values specified by the inputs.

Parameters

lower
 Name of field defining lower values (String)
upper
 Name of field defining upper values (String)

Example (Report or Viewsheet)

importPackage(inetsoft.graph)
importPackage(inetsoft.graph.data)
importPackage(inetsoft.graph.element)

var arr = [["Student","Bottom Score", "Top Score"],
            ["Joe",70,80], ["Eric",50,90],
           ["Jane",90,100], ["Sue",40,45]];
dataset = new DefaultDataSet(arr);
graph = new EGraph();
var elem = new IntervalElement();
elem.addDim("Student");
elem.addInterval("Bottom Score","Top Score")
graph.addElement(elem);
View a five-minute Flash demo to get an overview of what InetSoft's business intelligence software, Style Intelligence, can do and how easy it is to use. KPI dashboard demo

 

 

 

 

 

 

IntervalElement.setStackGroup(boolean)

Specifies whether each element group (i.e., bar series) should be stacked independently, or whether all should form a single stack order.

Parameters

Boolean
 true: independent stack order for each group
 false: single stack order for all groups

Example (Report or Viewsheet)

importPackage(inetsoft.graph)
importPackage(inetsoft.graph.data)
importPackage(inetsoft.graph.scale)
importPackage(inetsoft.graph.aesthetic)
importPackage(inetsoft.graph.element)
 
var arr = [["State","Quantity"], ["NJ",200], ["NJ",300],
           ["NY",300], ["NY",100]];
dataset = new DefaultDataSet(arr);
graph = new EGraph();
var elem = new IntervalElement("State", "Quantity");
var scale = new LinearScale("Quantity");
var frame = new HeatColorFrame();
frame.setField("Quantity");
elem.setColorFrame(frame);
elem.setStackGroup(true);
elem.setCollisionModifier(GraphElement.STACK_SYMMETRIC);
graph.addElement(elem);

IntervalElement.setStackNegative(boolean)

Specifies whether negative and positive values stack independently on opposite sides of the axis, or whether stacking is cumulative (i.e., determined arithmetically).

Parameters

Boolean
 true: independent stack order for each group
 false: single stack order for all group

Example (Report or Viewsheet)

importPackage(inetsoft.graph)
importPackage(inetsoft.graph.data)
importPackage(inetsoft.graph.scale)
importPackage(inetsoft.graph.aesthetic)
importPackage(inetsoft.graph.element)
 
var arr = [["State", "Quantity"], ["NJ", 200], ["NJ", 300],
           ["NY", -300], ["NY", 100]];
dataset = new DefaultDataSet(arr);
graph = new EGraph();
var elem = new IntervalElement("State", "Quantity");
var scale = new LinearScale("Quantity");
var frame = new HeatColorFrame();
frame.setField("Quantity");
elem.setColorFrame(frame);
elem.setStackGroup(true);
elem.setStackNegative(false);
elem.setCollisionModifier(GraphElement.STACK_SYMMETRIC);
graph.addElement(elem);

LineElement

The LineElement object contains the visual elements for a line chart. To create a new LineElement object, call the LineElement constructor.

var elem = new LineElement("State", "Quantity");

You can pass one, two, or three field names (e.g., 'State', 'Quantity') to the constructor, or specify these later using the addDim() and addVar() methods.

Example (Report or Viewsheet)

importPackage(inetsoft.graph)
importPackage(inetsoft.graph.data)
importPackage(inetsoft.graph.scale)
importPackage(inetsoft.graph.aesthetic)
importPackage(inetsoft.graph.element)
 
var arr = [["State", "Quantity"], ["NJ", 100], ["NY", 300]];
dataset = new DefaultDataSet(arr);
graph = new EGraph();
var elem = new LineElement("State", "Quantity")
graph.addElement(elem);


 

Customer Testimonial

“Resolve is the answer to controlling spiraling business operating costs resulting from managing technology infrastructure, and adding InetSoft’s polished, Flash-based dashboard visualization technology will be a welcome addition for both the operations users of Resolve as well as for the managers who made the investment decision to acquire it. Other aspects that made InetSoft stand out from the many options we evaluated were the ease of integration with our application and the level of support their team offered early in the proof-of-concept stage.” - Christian Mack, EVP, General Manager at generationE TECHNOLOGIES.

 

Previous: Visual Reporting API Next: Chart Tools

More Resources:

  >> BI Trends - Data Mashup
  >> Analysis Tools
  >> Visual Analysis
  >> Visual Data Tool
 
Copyright © 2012, InetSoft Technology Corp.
InetSoft Technology reporting vendor
Ad Hoc Reports | Business Dashboard | Business Intelligence Analytics | Business Intelligence Solution | Business Reporting Software | Dashboard Metrics | Financial Reporting Software | KPI Software | OLAP | Operational BI | Performance Management System | Real Time Reporting | Web Based Reporting Tools