
## ToPdf function

Creates the chart PDF and saves it to a stream.

```go

func (instance *Chart) ToPdf()  ([]byte,  error) 

```

## Remarks


## See Also

* Class [Chart](../)
* Library [Aspose.Cells for Go](../../)
