mirror of
https://github.com/seigler/neat-charts
synced 2025-07-27 01:16:09 +00:00
made example save-as filename more generic
This commit is contained in:
parent
4d2ddab9c2
commit
c6a1a48910
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ In your PHP file:
|
|||
|
||||
```php
|
||||
Header('Content-type: image/svg+xml; charset=utf-8');
|
||||
Header('Content-Disposition: inline; filename="Dash-24h-chart-' . date('Y-m-d\THisT') . '.svg"');
|
||||
Header('Content-Disposition: inline; filename="chart-' . date('Y-m-d\THisT') . '.svg"');
|
||||
include 'buffer.php';
|
||||
include 'SVGChartBuilder.php';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue