# tablepress/3.4/libraries/vendor/PhpSpreadsheet/Chart/Renderer/IRenderer.php

TablePress – Tables in WordPress made easy, version 3.4. 23 lines.

- Page: https://pluginprobe.com/plugins/tablepress/3.4/code/libraries/vendor/PhpSpreadsheet/Chart/Renderer/IRenderer.php
- Raw: https://pluginprobe.com/plugins/tablepress/3.4/raw/libraries/vendor/PhpSpreadsheet/Chart/Renderer/IRenderer.php
- Modified: 2025-01-08T09:25:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/tablepress/3.4/code/libraries/vendor/PhpSpreadsheet/Chart/Renderer/IRenderer.php#L10-L20`.

```php
<?php

namespace TablePress\PhpOffice\PhpSpreadsheet\Chart\Renderer;

use TablePress\PhpOffice\PhpSpreadsheet\Chart\Chart;

interface IRenderer
{
	/**
	 * IRenderer constructor.
	 */
	public function __construct(Chart $chart);

	/**
	 * Render the chart to given file (or stream).
	 *
	 * @param ?string $filename Name of the file render to
	 *
	 * @return bool true on success
	 */
	public function render(?string $filename): bool;
}

```
