From d258cabaf230e99c7a4947db87a51f2efe889c85 Mon Sep 17 00:00:00 2001 From: Elise Chant Date: Fri, 31 Mar 2017 11:15:42 +1100 Subject: [PATCH] feat(pie): adds pie and line (#12) * fix(column): remove yaxis label * chore(font): include Open Sans * feat(pie): include donut widget; remove data transformation; * feat(line): adds a cheeky line chart in wrong branch :P * feat(chart): removes dummy color * feat(chart): add dirs for sparklines and stacked column * feat(chart): fix up some smart defaults * feat(chart): removes deep extend * feat(column): restores legend * feat(pie): derive legend from decorated series and render it * feat(pie): enable tooltips for now --- public/404.html | 6 +- public/index.html | 5 + src/components/columnWidget/columnWidget.js | 107 ++++++------ src/components/columnWidget/readme.md | 25 +-- src/components/donutWidget/donutWidget.js | 161 ++++++++++++++++++ src/components/donutWidget/index.js | 1 + src/components/donutWidget/readme.md | 7 + src/components/lineWidget/index.js | 1 + src/components/lineWidget/lineWidget.js | 95 +++++++++++ src/components/lineWidget/readme.md | 6 + src/components/sparklineWidget/.gitkeep | 0 src/components/stackedColumnWidget/index.js | 1 + src/components/stackedColumnWidget/readme.md | 7 + .../stackedColumnWidget.js | 158 +++++++++++++++++ src/fixtures/series.js | 41 +++++ src/hocs/withHighcharts.js | 22 ++- src/index.js | 49 +++--- 17 files changed, 589 insertions(+), 103 deletions(-) create mode 100644 src/components/donutWidget/donutWidget.js create mode 100644 src/components/donutWidget/index.js create mode 100644 src/components/donutWidget/readme.md create mode 100644 src/components/lineWidget/index.js create mode 100644 src/components/lineWidget/lineWidget.js create mode 100644 src/components/lineWidget/readme.md create mode 100644 src/components/sparklineWidget/.gitkeep create mode 100644 src/components/stackedColumnWidget/index.js create mode 100644 src/components/stackedColumnWidget/readme.md create mode 100644 src/components/stackedColumnWidget/stackedColumnWidget.js create mode 100644 src/fixtures/series.js diff --git a/public/404.html b/public/404.html index 6adc36c..4096772 100644 --- a/public/404.html +++ b/public/404.html @@ -3,6 +3,11 @@ Single Page Apps for GitHub Pages + + + diff --git a/public/index.html b/public/index.html index af1a9d9..1740ee2 100644 --- a/public/index.html +++ b/public/index.html @@ -5,6 +5,11 @@ Datavizkit + + +