#1 Ranking: Read how InetSoft was rated #1 for user adoption in G2's user survey-based index |
|
Read More |
GraphElement.addVar(field)
Add a variable to a GraphElement object. A variable is plotted on the Y-axis.
Parameter
field
String containing name of variable
Example (Report or Viewsheet)
importPackage(inetsoft.graph)
importPackage(inetsoft.graph.data)
importPackage(inetsoft.graph.element)
importPackage(inetsoft.graph.aesthetic)
importPackage(inetsoft.graph.scale)
importPackage(inetsoft.graph.coord)
importPackage(inetsoft.graph.guide.form)
var arr = [["State", "Quantity", "Total"],
["NY",550,2500], ["NJ",370,3000]];
dataset = new DefaultDataSet(arr);
graph = new EGraph();
var elem = new LineElement("State","Quantity");
elem.addVar("Total");
graph.addElement(elem);
|
“Flexible product with great training and support. The product has been very useful for quickly creating dashboards and data views. Support and training has always been available to us and quick to respond.
- George R, Information Technology Specialist at Sonepar USA
|
GraphElement.setCollisionModifier(value)
Specifies how collisions (elements occupying the same location) should be handled.
Parameter
value
GraphElement.MOVE_NONE (do not stack/center)
GraphElement.MOVE_CENTER (center, do not stack)
GraphElement.MOVE_DODGE (offset horizontal)
GraphElement.MOVE_STACK (offset vertical (stack))
GraphElement.MOVE_JITTER (random offset (points))
GraphElement.DODGE_SYMMETRIC (offset horiz, center)
GraphElement.STACK_SYMMETRIC (offset vert, center)
Example (Report or Viewsheet)
importPackage(inetsoft.graph)
importPackage(inetsoft.graph.data)
importPackage(inetsoft.graph.element)
importPackage(inetsoft.graph.aesthetic)
importPackage(inetsoft.graph.scale)
importPackage(inetsoft.graph.coord)
importPackage(inetsoft.graph.guide.form)
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);
|
Read how InetSoft saves money and resources with deployment flexibility. |
GraphElement.setColorFrame(frame)
Specifies the aesthetic color treatment for the chart elements. A ColorFrame can color-code chart elements by value, or simply specify a static color scheme.
Parameters
frame
a ColorFrame object
Example (Report or Viewsheet)
importPackage(inetsoft.graph)
importPackage(inetsoft.graph.data)
importPackage(inetsoft.graph.element)
importPackage(inetsoft.graph.aesthetic)
importPackage(inetsoft.graph.scale)
importPackage(inetsoft.graph.coord)
importPackage(inetsoft.graph.guide.form)
var arr = [["State", "Quantity"], ["NJ", 200], ["NY", 300]];
dataset = new DefaultDataSet(arr);
graph = new EGraph();
var frame = new HeatColorFrame();
var elem = new IntervalElement("State", "Quantity");
frame.setField("Quantity");
elem.setColorFrame(frame);
graph.addElement(elem);
GraphElement.setInPlot(boolean)
Specifies whether the chart should be resized so that graph elements remain fully visible in the chart area.
Parameters
Boolean
true: resize chart
false: do not resize chart (crop elements)
Example (Report or Viewsheet)
importPackage(inetsoft.graph)
importPackage(inetsoft.graph.data)
importPackage(inetsoft.graph.element)
importPackage(inetsoft.graph.aesthetic)
importPackage(inetsoft.graph.scale)
importPackage(inetsoft.graph.coord)
importPackage(inetsoft.graph.guide.form)
var arr = [["State", "Quantity"], ["NJ", 200], ["NY", 300]];
dataset = new DefaultDataSet(arr);
graph = new EGraph();
var elem = new IntervalElement("State", "Quantity");
var scale = new LinearScale("Quantity");
scale.setMax(100);
graph.setScale("Quantity",scale);
elem.setInPlot(false);
graph.addElement(elem);
More Articles About Graphing
Content Development Reporting - What Does a Vice President of Content Development and Production in the Entertainment Industry Need to See in a Weekly Report? Project Status Updates: Detailed information on the status of each project in development or production. This includes any significant milestones achieved, challenges faced, and progress made towards completion. Budgetary Information: A breakdown of the budget for each project, including expenditures to date, remaining budget, and any potential overages or cost-saving measures implemented...
Energy Cost Analysis - Energy cost analysis is a key performance indicator (KPI), and the financial side of energy management is vital. This study is used by energy management dashboards to calculate an organization's energy expenditures, assisting businesses in making financially responsible choices. Organizations may find ways to save costs by knowing how much energy costs cost, such moving energy-intensive processes to off-peak times or investing in more energy-efficient equipment...
Evaluate InetSoft's HTML5 Dashboard Builder - Are you looking for a good HTML5 dashboard builder? InetSoft's pioneering dashboard reporting application produces great-looking web-based reports and dashboards with an easy-to-use drag-and-drop designer. View a demo and try interactive examples...
Risk Free Starter for BI Reporting - We create reports with your data (or mentor you to do so) You use the reports/software for free (as a single user). Built-in, in-depth interactivity and customization allows business users to dynamically reshape pre-designed reports for changing business needs with zero training. Ad hoc reporting further empowers business users with direct access to underlying data assets in a governed and secure environment...
Why InetSoft BI? - InetSoft's cloud flexible business intelligence solution delivers the benefit of cloud computing and software-as-a-service while giving you the maximum level of control. In terms of software-as-a-service, BI software is unique because it inherently depends on the data not being embedded in the application. Many SaaS BI vendors have created a cloud platform where you must transfer and update all data. This can create severe new issues because of bandwidth limits and updating-logic complexity. Even though some might offer a traditional install-your-own option, you will lose the benefit of SaaS that offloads the infrastructure management to the BI vendor. InetSoft's BI allows you to choose the platform and the location that is best suited for you...