You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 6, 2024. It is now read-only.
The slide "Chart" relies on the charts components `<deckgo-pie-chart/>` and `<deckgo-line-chart/>` which are described in the components [documentation](https://github.com/fluster/deckdeckgo/blob/master/doc/components/components.md).
341
+
342
+
##### Installation
343
+
344
+
**Important note**: The [DeckDeckGo] charts components are provided in separate extra library. If you wish to add charts to your presentation, you will need to install this extra component from a CDN or [npm](https://www.npmjs.com/package/deckdeckgo). See the related documentation from its [installation guide](https://github.com/fluster/deckdeckgo-charts#getting-started).
345
+
346
+
The reasons behind are the following:
347
+
348
+
1. If you don't use charts, you will not have to install unnecessary dependencies
349
+
2. Cherry on the cake, the [DeckDeckGo] charts Web Component could be use in [DeckDeckGo] as in any other web projects
350
+
351
+
#### Attributes
352
+
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.
354
+
355
+
#### Theming
356
+
357
+
The following theming options will affect this component if set on its host or parent.
| --slide-padding-top | 16px | Padding top of the all slide |
364
+
| --slide-padding-end | 32px | Padding right of the all slide |
365
+
| --slide-padding-bottom | 16px | Padding bottom of the all slide |
366
+
| --slide-padding-start | 32px | Padding left of the all slide |
367
+
| --zIndex | 1 | The z-index of the slide |
368
+
| --slide-chart-margin-top | 32px | Margin top of the chart inside its container |
369
+
| --slide-chart-margin-end | 96px | Margin right of the chart inside its container |
370
+
| --slide-chart-margin-bottom | 32px | Margin bottom of the chart inside its container |
371
+
| --slide-chart-margin-start | 32px | Margin left of the chart inside its container |
372
+
373
+
Furthermore, this slide component offers the exact same CSS4 variables as the [DeckDeckGo] charts Web Component, see its [documentation](https://github.com/fluster/deckdeckgo-charts) for the details.
374
+
311
375
### Slide: Youtube
312
376
313
377
The "Youtube" slide let you add easily a [Youtube](https://youtube.com) video to your presentation.
0 commit comments