Download presentation
Presentation is loading. Please wait.
Published byGavin Rich Modified over 9 years ago
1
Copyright © 2005, SAS Institute Inc. All rights reserved. Need Java Graphics? Use of BIP Graph Components NameRavi Devarajan TitleSoftware Manager DepartmentData Visualization R&D
2
Copyright © 2005, SAS Institute Inc. All rights reserved. 2 What are Graph Components? Java Components SAS ® 9.1 Architecture
3
Copyright © 2005, SAS Institute Inc. All rights reserved. 3 What ? – Java Components Modular code Public API Similar to SAS Procs
4
Copyright © 2005, SAS Institute Inc. All rights reserved. 4 The SAS ® Foundation SAS ® Application Services SAS ® BI Infrastructure What? – SAS ® 9.1 Architecture SAS ® Client Services SAS ® Foundation Servers SAS ® Metadata ServerWorkspace ServerStored Process ServerData Storage SAS ® Foundation Services System Mgmt InformationUser Event Connection SAS ® Query and Reporting Services Business Metadata Reporting Query SAS ® JNI – Interfaces Windows Based Business Intelligence Tools SAS® Enterprise Guide SAS® Information Delivery Portal SAS ® AppDev Studio Development Environment SAS® Web Report Studio SAS® Information Map Studio Java Based Business Intelligence Tools SAS® Management Console Portal SAS® COM Components SAS ® Java Components Base SAS ® SAS/CONNECT ® SAS/STAT ® SAS/SHARE ® SAS/ACCESS ® SAS/GRAPH ® SAS/QC ® SAS/ETS ® … SAS® Add-in for Microsoft Office SAS ® Foundation Services SAS ® Foundation Servers SAS® ETL Studio
5
Copyright © 2005, SAS Institute Inc. All rights reserved. 5 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); // 3) Assign the Category variable role, and optionally the // Response variable role, to appropriate variable(s) dataModel.setCategoryVariable(new ClassificationVariable("EnergyType")); dataModel.setResponseVariable(new AnalysisVariable("Produced")); // 4) Assign the data model to the BarChart barChart.setDataModel(dataModel); Each Graph Component handles TableModel OLAPDataSetInterface Other Components handle Read InformationMaps Read ReportXML from SAS/Graph procs Read/Write ROM
6
Copyright © 2005, SAS Institute Inc. All rights reserved. 6 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");
7
Copyright © 2005, SAS Institute Inc. All rights reserved. 7 API Usage – Output
8
Copyright © 2005, SAS Institute Inc. All rights reserved. 8 Bar Chart Component
9
Copyright © 2005, SAS Institute Inc. All rights reserved. 9 Pie Chart Component
10
Copyright © 2005, SAS Institute Inc. All rights reserved. 10 Line Chart Component
11
Copyright © 2005, SAS Institute Inc. All rights reserved. 11 Line Plot Component
12
Copyright © 2005, SAS Institute Inc. All rights reserved. 12 Scatter Plot Component
13
Copyright © 2005, SAS Institute Inc. All rights reserved. 13 Barline Chart Component
14
Copyright © 2005, SAS Institute Inc. All rights reserved. 14 Radar Chart Component
15
Copyright © 2005, SAS Institute Inc. All rights reserved. 15 Introducing Graph Matrix Layout
16
Copyright © 2005, SAS Institute Inc. All rights reserved. 16 Areabar Chart Component – Future
17
Copyright © 2005, SAS Institute Inc. All rights reserved. 17 Waterfall Chart Component – Future
18
Copyright © 2005, SAS Institute Inc. All rights reserved. 18 Gantt Chart Component – Future
19
Copyright © 2005, SAS Institute Inc. All rights reserved. 19 Tile Chart Component
20
Copyright © 2005, SAS Institute Inc. All rights reserved. 20 Graphical Data Explorer Component – Future
21
Copyright © 2005, SAS Institute Inc. All rights reserved. 21 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
22
Copyright © 2005, SAS Institute Inc. All rights reserved. 22 Availability – Programmable Components SAS Java IDE SAS®AppDev Studio™ Standalone SAS®BI Server
23
Copyright © 2005, SAS Institute Inc. All rights reserved. 23 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)
24
Copyright © 2005, SAS Institute Inc. All rights reserved. 24 Copyright © 2005, SAS Institute Inc. All rights reserved. 24 Email address: Ravi.Devarajan@sas.com Need Java Graphics? Use of BIP Graph Components
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.