From d424a1a76e11e5f938451738b398c74685e4bb65 Mon Sep 17 00:00:00 2001 From: SauravKanchan Date: Fri, 22 May 2020 12:35:44 +0530 Subject: [PATCH] update charts docs --- stories/Charts/CustomSize.svelte | 6 ++++++ stories/Charts/Installation.svelte | 21 ++++++++++++++++++--- stories/Charts/Usage.svelte | 4 ++++ 3 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 stories/Charts/CustomSize.svelte create mode 100644 stories/Charts/Usage.svelte diff --git a/stories/Charts/CustomSize.svelte b/stories/Charts/CustomSize.svelte new file mode 100644 index 0000000..f655632 --- /dev/null +++ b/stories/Charts/CustomSize.svelte @@ -0,0 +1,6 @@ + diff --git a/stories/Charts/Installation.svelte b/stories/Charts/Installation.svelte index 98da8a8..4b46750 100644 --- a/stories/Charts/Installation.svelte +++ b/stories/Charts/Installation.svelte @@ -4,12 +4,22 @@ import MDBCol from "../../src/MDBCol.svelte"; import Example from "../Example.svelte"; import MDBBtn from "../../src/MDBBtn.svelte"; + import UsageSource from "!!raw-loader!./Usage.svelte"; + import CustomSizeSource from "!!raw-loader!./CustomSize.svelte"; + import MDBIcon from "../../src/MDBIcon.svelte";

svelte-chartjs

-

This package is separate from mdbsvelte. It's a wrapper of chart.js

+

This package is separate from mdbsvelte. It's a wrapper of chart.js + + + +

+ +

Installation

@@ -19,6 +29,11 @@ +

Usage

+ +

Checkout Examples to see detailed usage

- Examples + Examples
diff --git a/stories/Charts/Usage.svelte b/stories/Charts/Usage.svelte new file mode 100644 index 0000000..c3fed6c --- /dev/null +++ b/stories/Charts/Usage.svelte @@ -0,0 +1,4 @@ + +