SAS Graphics for Java: Examples Using SAS AppDev Studio and the Output Delivery System

Wendy Bohnenkamp

  • 出版商: SAS Press
  • 出版日期: 2007-06-25
  • 售價: $2,330
  • 貴賓價: 9.5$2,214
  • 語言: 英文
  • 頁數: 360
  • 裝訂: Paperback
  • ISBN: 159047693X
  • ISBN-13: 9781590476932
  • 相關分類: Java 程式語言
  • 已絕版

相關主題

商品描述

Description

Here, in one convenient source, is all the information you need to create your own SAS graphs. This example-rich reference familiarizes you with custom tags in SAS AppDev Studio and shows you how to use ODS statements and the Java Device Driver to create graphs. Written for programmers at all experience levels, this dynamic book focuses on the attributes, parameters, and options that make graphs convey what you really want them to convey. It also provides SAS/GRAPH samples and WORK data sets.

Topics addressed include:

  • using WebAF as an IDE
  • using SAS AppDev Studio 2 tags and their options
  • using the tags and nesting properties of SAS AppDev Studio 3
  • using ODS parameters for colors and text

This text is suited for programmers who already know how to use SAS AppDev Studio to create and deploy a JSP or servlet application. A basic level of SAS ODS programming knowledge is required.

Table of Contents

Acknowledgments   ix

Introduction   xi

Part 1        SAS AppDevStudio   1

Chapter 1     Getting Started with SAS AppDev Studio   3

1.1  Tag Libraries for SAS AppDev Studio   3

1.2  Getting Ready to Add Graphs to Your SAS AppDev Studio
       Project   8

1.3  Your Data   10

1.3.1  Tips and Information   11

 

Chapter 2     SAS AppDev Studio Custom Tags and Attributes for
                     Basic Graphs   13

2.1  SAS AppDev Studio 2 Tags   15

2.1.1  sasads:Bar   15

2.1.2  sasads:Combination   16

2.1.3  sasads:Pie   16

2.1.4  sasads:Scatter   17

2.1.5  sasads:SegmentedBar   17

2.2  SAS AppDev Studio 3 Tags   18

2.2.1  sas:BarChart   18

2.2.2  sas:BarLineChart   19

2.2.3  sas:LineChart   20

2.2.4  sas:LinePlot   21

2.2.5  sas:PieChart   22

2.2.6  sas:RadarChart   23

2.2.7  sas:ScatterPlot   24

2.3  Common Attributes   25

 


 

Chapter 3     SAS AppDev Studio 3 Graph Model Tags  39

3.1  BarChartModel   40

3.2  BarLineChartModel   50

3.3  LineChartModel   64

3.4  LinePlotModel   67

3.5  PieChartModel   74

3.6  RadarChartModel   87

3.7  ScatterPlotModel   92

3.7.1  Baselines   97

 

Chapter 4     Nested Tags for Graph Models   99

4.1  Axis Models   100

4.1.1  Response Axis Baseline Models   107

4.1.2  Corresponding Graph Models   108

4.1.3  Column and Row Axis Models   110

4.2  Legends 111

4.2.1  Corresponding Graph Models   113

4.3  Line Style Tags   113

4.3.1  Corresponding Graph Models   116

4.4  Text Style Tags   116

4.4.1  Corresponding Graph Models   117

4.5  AxisWallModel   118

4.6  BackgroundFillStyle   119

4.6.1  Corresponding Graph Models   122

4.7  DataElementStyle   123

4.8  DataTipModel   123

4.9  SubgroupLabelModel   124

 

Chapter 5     Supporting Tags   125

5.1  Fill Tags   126

5.2  Line Tags   130

5.2.1  AxisLineStyle, GridLineStyle, StrokeLineStyle,
          FrameLineStyle, and OutlineLineStyle

5.2.2  BasicStroke   133


 

5.3  Text Tags   133

5.3.1  Font   133

5.3.2  LabelTextStyle and ValueTextStyle   134

5.3.3  TextStyle   136

5.3.4  ShadowStyle   136

5.4  Tick Mark Tags   136

5.5  Miscellaneous Tags   137

5.5.1  DiscreteFillColor   137

5.5.2  MarkerStyle   137

5.5.3  ReferenceLineModel   140

 

Part 2    Output Delivery System   143

Chapter 6     Important Concepts for Getting Started with ODS
                     and Java   145

6.1  Java Scriptlet Code   146

6.2  General JSP Structure   146

6.3  General JSP Requirements   148

6.4  Connecting and Data Extraction   148

6.5  A Few Last Notes about Data   151

 

Chapter 7     Creating Graphs   153

7.1  Types of Bar Charts   154

7.1.1  Horizontal Bar Charts   154

7.1.2  Vertical Bar Charts   155

7.2  Types of Pie Charts   156

7.2.1  Pie Charts   157

7.2.2  Donut Charts   158

7.2.3  Star Charts   159

7.3  Contour Plots   159

7.4  Types of Maps   160

7.4.1  Block Maps   160

7.4.2  Choropleth Maps   161

7.4.3  Prism Maps   162

7.4.4  Surface Maps   163

7.5  Types of Plots   163

7.5.1  Bubble Plots   164

7.5.2  Plots   165

7.6  Three-Dimensional Graphs   166

7.6.1  Scatter Plots   166

7.6.2  Surface Plots   167

 

Chapter 8     Parameters for Colors  169

8.1  ODS Parameters   170

8.1.1  Non-supported parameters   181

8.2  GOPTIONS   182

8.2.1  Non-supported options   186

8.3  PROC GCHART   186

8.3.1  Summary   192

8.3.2  Non-supported parameters   193

8.4  PROC GCONTOUR   193

8.4.1  Summary   197

8.5  PROC GMAP   197

8.5.1  Summary   199

8.6  PROC GPLOT   199

8.6.1  Summary   204

8.7  PROC G3D   204

8.7.1  Summary   205

8.7.2  Non-supported parameters   205

 

Chapter 9     Parameters for Text   207

9.1 ODS Parameters   208

9.1.1  Non-supported parameters   213

9.2  GOPTIONS   214

9.2.1  Non-supported parameters   217

9.3  PROC GCHART   217

9.3.1  Summary   225

9.3.2  Non-supported parameters   226

9.4  PROC GCONTOUR   227

9.4.1  Summary   231

9.5  PROC GMAP   232

9.5.1  Summary   234

9.6  PROC GPLOT   234

9.6.1  Summary   238

9.7  PROC G3D   239

9.7.1  Summary   240

 

Chapter 10   Other Parameters   241

10.1  PROC GCHART   242

10.1.1  Summary   264

10.1.2  Non-supported parameters   267

10.2  PROC GCONTOUR   268

10.2.1  Non-supported parameters   272

10.3  PROC GMAP   273

10.3.1  Summary   277

10.3.2  Non-supported parameters   278

10.4  PROC GPLOT   278

10.4.1  Summary   289

10.4.2  Non-supported parameters   289

10.5  PROC G3D   290

10.5.1  Summary   298

10.5.2  Non-supported parameters   298

 

Part 3    Putting It Together   299

Chapter 11   Final Reports   301

11.1  Report 1: Using SAS AppDev Studio 3 Tags   301

11.2  Report 2: Using ODS   307

11.3  Conclusions   310

 

Appendix A   SAS/GRAPH Samples and WORK Data Sets   313

References   315

Index   317