diff --git a/.gitignore b/.gitignore index 3969d0a..b2df391 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,6 @@ node_modules/* custom/* docs/index.md + +components/ +build/ \ No newline at end of file diff --git a/component.json b/component.json new file mode 100644 index 0000000..ccbf66c --- /dev/null +++ b/component.json @@ -0,0 +1,23 @@ +{ + "name": "stacked-bar", + "repo": "fredsterss/Chart.StackedBar.js", + "description": "Stacked bar for component/chart", + "version": "0.0.1", + "keywords": [ + "bar chart" + ], + "dependencies": {}, + "development": { + "component/chart": "*" + }, + "license": "MIT", + "main": "src/Chart.StackedBar.js", + "scripts": [ + "src/Chart.StackedBar.js" + ], + "remotes": [ + "https://raw.githubusercontent.com", + "https://cdn.rawgit.com", + "https://rawgit.com" + ] +} \ No newline at end of file diff --git a/samples/stacked-bar-using-component.html b/samples/stacked-bar-using-component.html new file mode 100644 index 0000000..92e06f3 --- /dev/null +++ b/samples/stacked-bar-using-component.html @@ -0,0 +1,53 @@ + + + + Stacked Bar Chart + + + + +
+ +
+ + + + +