Creating Drill-Down Graphs in HTML |
Creating a Variable for Link
Locations |
To associate bars on the chart with HTML files, you start by creating a variable to hold the HREF addresses for the secondary files. You'll add the variable to the data used to create your chart. In our example, the variable is added to a temporary copy of Finance.Prdsal2. |
Because HREF links are long text strings, use a LENGTH statement to define the new character variable. |
General form, LENGTH statement:
where
|
For this example, we will use a LENGTH statement to create a character
variable (PriDrill ) with a length of 40. data work.saletrnd; set finance.prdsal2; length PriDrill $ 40; run;
|
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.