Skip to content

Commit d45a084

Browse files
committed
update
1 parent e420406 commit d45a084

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ composer require macocci7/php-scatterplot
9191
- Hash arrays `x` and `y` must have the same number of elements.
9292
- Instantiate: `new Scatterplot()`
9393
- Set Data: `layers($layers)`
94-
- Craete Image: `create($path)`
94+
- Create Image: `create($path)`
9595

9696
### 5.2. Using Layers
9797

@@ -252,7 +252,7 @@ composer require macocci7/php-scatterplot
252252

253253
First, prepare a Neon file like this:
254254

255-
- Neon:
255+
- Neon: [examples/AdjustDisplayByNeon.neon](examples/AdjustDisplayByNeon.neon)
256256

257257
```neon
258258
#canvasWidth: 600
@@ -321,7 +321,7 @@ First, prepare a Neon file like this:
321321

322322
Second, Code PHP like this:
323323

324-
- PHP:
324+
- PHP: [examples/AdjustDisplayByNeon.php](examples/AdjustDisplayByNeon.php)
325325

326326
```php
327327
<?php
@@ -357,13 +357,13 @@ Second, Code PHP like this:
357357

358358
Then, run the PHP code.
359359

360-
- Result:
360+
- Result: [examples/img/AdjustDisplayByNeon.png](examples/img/AdjustDisplayByNeon.png)
361361

362-
<img src="examples/img/AdjustDisplayByNeon.png" width="400" />
362+
<a href="examples/img/AdjustDisplayByNeon.png"><img src="examples/img/AdjustDisplayByNeon.png" width="400" /></a>
363363

364364
### 5.5. Adjusting the Display By Array
365365

366-
- PHP:
366+
- PHP: [examples/AdjustDisplayByArray.php](examples/AdjustDisplayByArray.php)
367367

368368
```php
369369
<?php
@@ -464,13 +464,13 @@ Then, run the PHP code.
464464
->create('img/AdjustDisplayByArray.png');
465465
```
466466

467-
- Result:
467+
- Result: [examples/img/AdjustDisplayByArray.png](examples/img/AdjustDisplayByArray.png)
468468

469-
<img src="examples/img/AdjustDisplayByArray.png" width="400" />
469+
<a href="examples/img/AdjustDisplayByArray.png"><img src="examples/img/AdjustDisplayByArray.png" width="400" /></a>
470470

471471
### 5.6. Transparent Background
472472

473-
- PHP:
473+
- PHP: [examples/TransparentBackground.php](examples/TransparentBackground.php)
474474

475475
```php
476476
<?php
@@ -508,13 +508,13 @@ Then, run the PHP code.
508508
->create('img/TransparentBackground.png');
509509
```
510510

511-
- Result:
511+
- Result: [examples/img/TransparentBackground.png](examples/img/TransparentBackground.png)
512512

513-
<img src="examples/img/TransparentBackground.png" width="400" />
513+
<a href="examples/img/TransparentBackground.png"><img src="examples/img/TransparentBackground.png" width="400" /></a>
514514

515515
### 5.7. Parsed Data
516516

517-
- PHP
517+
- PHP: [examples/ParsedData.php](examples/ParsedData.php)
518518

519519
```php
520520
<?php
@@ -538,7 +538,7 @@ Then, run the PHP code.
538538
var_dump($a->parse($layers));
539539
```
540540

541-
- Result
541+
- Result: [examples/ParsedData.txt](examples/ParsedData.txt)
542542

543543
```bash
544544
array(2) {

0 commit comments

Comments
 (0)