GraphElement.addDim(field)
Add a dimension to a GraphElement object. A dimension is plotted on the X-axis, or on the outer coordinates of nested coordinates.
Parameter
field
String containing name of dimension
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", "City", "Quantity"],
["NJ","Edison",2500], ["NJ","Piscataway",3000],
["NY","NY City",5000],["NY","Yonkers",450]];
dataset = new DefaultDataSet(arr);
graph = new EGraph();
var elem = new IntervalElement("State","Quantity");
elem.addDim("City");
graph.addElement(elem);
More Articles About Map Charting
Collection of Dashboard Ideas - Below are some dashboard ideas to give you inspiration for what your business can do with Style Intelligence. This visual automotive report displays the fuel efficiency of various vehicles which are organized along a number of variables. While average mpg is displayed with position, color is also used to display the number of cylinders in a vehicles' engine. A large selection list provides easy interactivity on a touch screen. The dashboard also features a table displaying individual vehicle stats, facilitating drilldown to explore outliers...
Credit Card Analytics Example - To this end, InetSoft has created a dashboard that investigates several factors associated with credit card approvals, including income, debt, age, ethnicity, credit score, marriage status, and gender. It not only allows financial users to visualize the relationship between a single factor and credit card approval rates at a glance, it also helps users slice and dice relationships easily between different variables with built-in checklists and sliders...
Option for Balanced Scorecard Software - InetSoft's balanced scorecard software allows users to track key metrics in real time in order to achieve specific goals and keep the company on track. Balanced scorecards can provide critical updates as often as possible, tracking as many parameters (e.g., sales revenue) as needed. With this software, individuals can set the stage for what needs to be accomplished in the future, as well as lay out a plan for how to achieve that goal...
Why Use a Bullet Chart? - The benefit of the bullet chart is that it is compact and easy to read, making it useful for displaying data in dashboards or other types of visual displays where space is limited. The key attribute that distinguishes the bullet chart from a standard bar chart is the peripheral information, the ranges and target. Since this information is not a part of a traditional dataset, as it does not represent actual recorded performance, the ranges and targets would not appear in a typical chart based on queried data. The addition of this contextual information in the bullet chart makes the chart uniquely suited to presenting performance within the framework of established expectations...