---
name: "SVG::Graph::Data"
section: "3pm"
platform: "linux"
package: "libsvg-graph-perl"
version: "0.02-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SVG::Graph::Data"
---

# SVG::Graph::Data(3pm)

SVG::Graph::Data object

## NAME

SVG::Graph::Data - SVG::Graph::Data object

## METHODS

### new

```
 Title   : new
 Usage   : my $data = SVG::Graph::Data->new
 Function: creates a new SVG::Graph::Data object
 Returns : a SVG::Graph::Data object
 Args    : (optional) array of SVG::Graph::Data::Datum objects
```

### init

```
 Title   : init
 Usage   :
 Function:
 Example :
 Returns :
 Args    :
```

### data

```
 Title   : data
 Usage   :
 Function:
 Example :
 Returns :
 Args    :
```

### add\_data

```
 Title   : add_data
 Usage   : $data->add_data($datum)
 Function: adds a Datum object to the current Data object
 Returns : none
 Args    : SVG::Graph::Data::Datum object
```

### \_recalculate\_stats

```
 Title   : _recalculate_stats
 Usage   :
 Function:
 Example :
 Returns :
 Args    :
```

### xstat

```
 Title   : xstat
 Usage   : $obj->xstat($newval)
 Function:
 Example :
 Returns : value of xstat (a scalar)
 Args    : on set, new value (a scalar or undef, optional)
```

### ystat

```
 Title   : ystat
 Usage   : $obj->ystat($newval)
 Function:
 Example :
 Returns : value of ystat (a scalar)
 Args    : on set, new value (a scalar or undef, optional)
```

### zstat

```
 Title   : zstat
 Usage   : $obj->zstat($newval)
 Function:
 Example :
 Returns : value of zstat (a scalar)
 Args    : on set, new value (a scalar or undef, optional)
```

### is\_changed

```
 Title   : is_changed
 Usage   : $obj->is_changed($newval)
 Function:
 Example :
 Returns : value of is_changed (a scalar)
 Args    : on set, new value (a scalar or undef, optional)
```

### svg

```
 Title   : svg
 Usage   : $obj->svg($newval)
 Function:
 Example :
 Returns : value of svg (a scalar)
 Args    : on set, new value (a scalar or undef, optional)
```
