InetSoft Reporting Software: Report Script

Report script that modifies 'graph' should be placed at the element level. See Adding Element-Level Script.

business intelligence product example
Click this screenshot to view a three-minute demo and get an overview of what InetSoft’s BI dashboard reporting software, Style Intelligence, can do and how easy it is to use.

DataSet.getRowCount()

Returns the number of rows in the DataSet (including the header row).

Example:

importPackage(inetsoft.graph)
importPackage(inetsoft.graph.data)
importPackage(inetsoft.graph.element)
importPackage(inetsoft.graph.aesthetic)
importPackage(inetsoft.graph.guide.form)
 
// Create a chart with two datasets:
var arr = [["State", "Total", "Profit"],
      ["NJ", 200, 25],
      ["NY", 300, 150]];
dataset = new DefaultDataSet(arr);
graph = new EGraph();
var elem1 = new IntervalElement("State", "Total");
var elem2 = new IntervalElement("State", "Profit");
var frame = new StaticColorFrame(java.awt.Color.red);
elem2.setColorFrame(frame);
graph.addElement(elem1);
graph.addElement(elem2);
 
// Loop through the rows of the second dataset (Profit),
// and place labels on the bars.
for (var i=0; i}
view gallery
View live interactive examples in InetSoft's dashboard and visualization gallery.

DataSet.getColCount()

Returns the number of columns in the DataSet.

Example (Report or Viewsheet):

importPackage(inetsoft.graph)
importPackage(inetsoft.graph.data)
importPackage(inetsoft.graph.element)
importPackage(inetsoft.graph.aesthetic)
importPackage(inetsoft.graph.guide.form)
 
// Create a chart with two datasets:
var arr = [["State", "Total", "Profit"],
      ["NJ", 200, 25],
      ["NY", 300, 150]];
dataset = new DefaultDataSet(arr);
graph = new EGraph();
var elem1 = new IntervalElement("State", "Total");
var elem2 = new IntervalElement("State", "Profit");
var frame = new StaticColorFrame(java.awt.Color.red);
elem2.setColorFrame(frame);
graph.addElement(elem1);
graph.addElement(elem2);

// Loop through the rows and columns,
// and place labels on the bars.
for (var i=0; i

DataSet.setOrder(dim,arr)

Set a manual label ordering for a given dimension field.

Parameters

dim String giving name of the dimension to sort
arr Array of strings with desired label order:
['label1','label2','label3',...]
#1 Ranking: Read how InetSoft was rated #1 for user adoption in G2's user survey-based index Read More

Example (Report or Viewsheet):

importPackage(inetsoft.graph)
importPackage(inetsoft.graph.data)
importPackage(inetsoft.graph.element)
importPackage(inetsoft.graph.aesthetic)
importPackage(inetsoft.graph.guide.form)
var arr = [["State", "Quantity"], ["NJ", 200],
      ["NY", 300], ["PA", 25]];
dataset = new DefaultDataSet(arr);
dataset.setOrder('State',['PA','NY','NJ']);
graph = new EGraph();
var elem = new IntervalElement("State", "Quantity");
graph.addElement(elem);

InetSoft Viewpoint

As a firm, InetSoft focuses on operational business intelligence. This particular branch of business intelligence has a lot to do with business processes because this is essentially about business planning and execution. When we talk about operational people, we are talking about sales, marketing, everybody who is involved in delivering business execution. In our experience we have heard from our customers, a business intelligence system is no longer a stand alone application for analyzing performance in the rear-view mirror. They want to look forward and be able to take action.

That is where we have put a lot of focus and been delivering BI solutions. The recent trend we have noticed is that people are no longer viewing those informatio0n needs as individual activities. They want to share information. They want it integrated into business processes. They want to collaborate. All of these needs point to a tighter integration between the business applications and the business operations.

From a technology level, a lot also has to be done to achieve those business goals. So the standard open technologies have become more important in this scenario. We have seen customers who want to share the BI platform, not only the data and methodologies, and go beyond single-sign on levels of integration, and really have a collaboration environment so the end users can explore information. They can collaborate and really drive the whole business process.

Previous: Chart Properties