Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 411b242

Browse files
doc(#16): add pie
1 parent f1d8dae commit 411b242

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed
103 KB
Loading

doc/slides/slides.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ Some templates offer extra features as for example the slide [Code](#slide-code)
3939

4040
* [Chart](#slide-chart)
4141

42-
<img src="https://github.com/fluster/deckdeckgo/blob/master/doc/slides/deckdeckgo-slide-chart-layout.png" width="200px">
42+
<img src="https://github.com/fluster/deckdeckgo/blob/master/doc/slides/deckdeckgo-slide-chart-pie-layout.png" width="200px">
43+
<img src="https://github.com/fluster/deckdeckgo/blob/master/doc/slides/deckdeckgo-slide-chart-line-layout.png" width="200px">
4344

4445
* [Youtube](#slide-youtube)
4546

@@ -319,7 +320,8 @@ The "Chart" slide let you draw easily charts in your presentation.
319320

320321
#### Layout
321322

322-
<img src="https://github.com/fluster/deckdeckgo/blob/master/doc/slides/deckdeckgo-slide-chart-layout.png" width="450px">
323+
<img src="https://github.com/fluster/deckdeckgo/blob/master/doc/slides/deckdeckgo-slide-chart-pie-layout.png" width="450px">
324+
<img src="https://github.com/fluster/deckdeckgo/blob/master/doc/slides/deckdeckgo-slide-chart-line-layout.png" width="450px">
323325

324326
#### Usage
325327

@@ -350,7 +352,13 @@ The reasons behind are the following:
350352

351353
#### Attributes
352354

353-
This slide component offers the exact same attributes as the [DeckDeckGo] charts Web Component, see its [documentation](https://github.com/fluster/deckdeckgo-charts) for the details.
355+
This component offers the following options which could be set using attributes:
356+
357+
| Attribute | Type | Default | Description |
358+
| -------------------------- |:-----------------:|:-----------------:|:-----------------:|
359+
| type | string | pie | The type of the chart, `pie` or `line` |
360+
361+
Furthermore, this slide component offers the same attributes as the [DeckDeckGo] charts Web Component, see its [documentation](https://github.com/fluster/deckdeckgo-charts) for the details.
354362

355363
#### Theming
356364

0 commit comments

Comments
 (0)