39.74 HTML_PCT_GRAPH_MASK Function
Use this function to scale a graph. This function can also be used by classic and interactive reports with format mask of GRAPH. This generates a <div> tag with inline styles.
                  
Syntax
APEX_UTIL.HTML_PCT_GRAPH_MASK (
    p_number         IN NUMBER    DEFAULT NULL,
    p_size           IN NUMBER    DEFAULT 100,
    p_background     IN VARCHAR2  DEFAULT NULL,
    p_bar_background IN VARCHAR2  DEFAULT NULL,
    p_format         IN VARCHAR2  DEFAULT NULL)
RETURN VARCHAR2;Parameters
Table 39-65 HTML_PCT_GRAPH_MASK Parameters
| Parameter | Description | 
|---|---|
| 
 | Number between 0 and 100. | 
| p_size | Width of graph in pixels. | 
| p_background | Six character hexadecimal background color of chart bar (not bar color). | 
| p_bar_background | Six character hexadecimal background color of chart bar (bar color). | 
| p_format | If this parameter is supplied,  This parameter uses the following format: 
 position 1: PCT_GRAPH format mask indicator position 2: Background color in hexadecimal, 6 characters (optional) position 3: Foreground "bar" color in hexadecimal, 6 characters (optional) position 4: Chart width in pixels. Numeric and defaults to 100. 
 | 
Example
The following is an SQL example.
select apex_util.html_pct_graph_mask(33) from dualThe following is a report numeric column format mask example.
PCT_GRAPH:777777:111111:200Parent topic: APEX_UTIL