Need Java Graphics? Use of BIP Graph Components

Download Report

Transcript Need Java Graphics? Use of BIP Graph Components

Need Java Graphics?
Use of BIP Graph Components
Name
Title
Department
Copyright © 2005, SAS Institute Inc. All rights reserved.
Ravi Devarajan
Software Manager
Data Visualization R&D
What are Graph Components?
 Java Components
 SAS® 9.1 Architecture
Copyright © 2005, SAS Institute Inc. All rights reserved.
2
What ? – Java Components
 Modular code
 Public API
 Similar to SAS Procs
Copyright © 2005, SAS Institute Inc. All rights reserved.
3
What? – SAS® 9.1 Architecture
SAS®
Client
Services
Development
Environment
SAS®
AppDev
Studio
Portal
Windows Based Business
Intelligence Tools
Java Based Business Intelligence Tools
SAS®
Web Report
Studio
SAS®
Information
Delivery
Portal
SAS®
Information
Map Studio
SAS®
ETL Studio
SAS®
Add-in for
Microsoft Office
SAS® Management Console
SAS®
Enterprise
Guide
SAS® COM Components
SAS® Java Components
SAS® JNI – Interfaces
SAS®
Application
Services
SAS® Query and Reporting Services
Business Metadata
Reporting
Query
SAS®
BI
Infrastructure
SAS® Foundation Services
SAS®
Foundation
Services
System Mgmt
Connection
User
Event
Information
SAS® Foundation Servers
SAS®
Foundation
Servers
SAS® Metadata Server
SAS/CONNECT®
Workspace Server
Stored Process Server
SAS/ACCESS® SAS/STAT® SAS/GRAPH® SAS/SHARE®
SAS®
The
Foundation
Copyright © 2005, SAS Institute Inc. All rights reserved.
SAS/ETS®
Data Storage
SAS/QC®
…
Base SAS®
4
Usage – API (Barchart example)
// 1) Create a BarChart and a data source
BarChart barChart=new BarChart();
SampleData dataTable=new SampleData();
// 2) Create a data model and attach the data source
BarChartTableDataModel dataModel=new BarChartTableDataModel();
dataModel.setModel(dataTable);
 Each Graph Component handles
// 3) Assign the Category variable role, and optionally the
• TableModel
// Response variable role, to appropriate variable(s)
• OLAPDataSetInterfaceClassificationVariable("EnergyType"));
dataModel.setCategoryVariable(new
dataModel.setResponseVariable(new
AnalysisVariable("Produced"));
Other Components handle

• Read InformationMaps
// 4) Assign the data model to the BarChart
• Read ReportXML from SAS/Graph procs
barChart.setDataModel(dataModel);
• Read/Write ROM
Copyright © 2005, SAS Institute Inc. All rights reserved.
5
Usage API – contd.
//draw 3d barchart, by default 2d is drawn
barChart.getGraphModel().setDimension(GraphConstants.DIMENSION_3D);
// Apply the desired GraphStyle, a DEFAULT style is already applied
barChart.applyGraphStyle(new GraphStyle(GraphStyle.STYLE_CURVE));
// Set a graph Title
barChart.getBarChartModel().getTitle1().setText(“Energy Production");
Copyright © 2005, SAS Institute Inc. All rights reserved.
6
API Usage – Output
Copyright © 2005, SAS Institute Inc. All rights reserved.
7
Bar Chart Component
Copyright © 2005, SAS Institute Inc. All rights reserved.
8
Pie Chart Component
Copyright © 2005, SAS Institute Inc. All rights reserved.
9
Line Chart Component
Copyright © 2005, SAS Institute Inc. All rights reserved.
10
Line Plot Component
Copyright © 2005, SAS Institute Inc. All rights reserved.
11
Scatter Plot Component
Copyright © 2005, SAS Institute Inc. All rights reserved.
12
Barline Chart Component
Copyright © 2005, SAS Institute Inc. All rights reserved.
13
Radar Chart Component
Copyright © 2005, SAS Institute Inc. All rights reserved.
14
Introducing Graph Matrix Layout
Copyright © 2005, SAS Institute Inc. All rights reserved.
15
Areabar Chart Component – Future
Copyright © 2005, SAS Institute Inc. All rights reserved.
16
Waterfall Chart Component – Future
Copyright © 2005, SAS Institute Inc. All rights reserved.
17
Gantt Chart Component – Future
Copyright © 2005, SAS Institute Inc. All rights reserved.
18
Tile Chart Component
Copyright © 2005, SAS Institute Inc. All rights reserved.
19
Graphical Data Explorer Component –
Future
Copyright © 2005, SAS Institute Inc. All rights reserved.
20
Usage – Beyond SAS/Graph
 Interactive (demo)
• Selection/Brushing
• Tooltips, Links
• OLAP Actions – Drill, Expand, Query, Filter,
Sort, Rank
 Other Highlights
• Modern Java Graphs
• Graph Matrix
• Exception Highlighting
• Render SVG output
Copyright © 2005, SAS Institute Inc. All rights reserved.
21
Availability – Programmable
Components
 SAS Java IDE
• SAS®AppDev Studio™
 Standalone
• SAS®BI Server
Copyright © 2005, SAS Institute Inc. All rights reserved.
22
Availability – SAS 9 Applications
 Web Applications – Web Report Studio,
SWOVJ, VDE in BI Portal, SAS Web Analytics,
SPM, SRM Spend Analysis
 Swing Applications – Marketing Optimization,
Marketing Automation & Risk Dimensions
 SWT Applications – Promotion Optimization
& Markdown Optimization
 Applets – ISV & Tilechart
 SAS/Graph ® via ODS SASREPORT
(experimental)
Copyright © 2005, SAS Institute Inc. All rights reserved.
23
Need Java Graphics? Use of BIP Graph Components
Email address: [email protected]
Copyright © 2005, SAS Institute Inc. All rights reserved.
24