From e748fc5a01d5c79bce9b70b0de024cd12106719f Mon Sep 17 00:00:00 2001 From: Gordon Woodhull Date: Fri, 18 Sep 2015 09:10:30 -0400 Subject: [PATCH] add resizing row chart example for #1001 --- web/resizing/index.html | 3 +++ web/resizing/resizing-bar.html | 2 -- web/resizing/resizing-row.html | 49 ++++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 web/resizing/resizing-row.html diff --git a/web/resizing/index.html b/web/resizing/index.html index c0047381a..e74231987 100644 --- a/web/resizing/index.html +++ b/web/resizing/index.html @@ -12,6 +12,9 @@

Eyeball tests for resizing dc.js charts

resizing heatmap resizing pie resizing right axis + resizing row + + resizing series diff --git a/web/resizing/resizing-bar.html b/web/resizing/resizing-bar.html index 0455fd206..04b366f65 100644 --- a/web/resizing/resizing-bar.html +++ b/web/resizing/resizing-bar.html @@ -41,7 +41,6 @@ }); chart.render(); - // respond to browser resize (not necessary if width/height is static) window.onresize = function() { chart .width(window.innerWidth-20) @@ -49,7 +48,6 @@ .rescale() .redraw(); }; - }); diff --git a/web/resizing/resizing-row.html b/web/resizing/resizing-row.html new file mode 100644 index 000000000..7f9ac7628 --- /dev/null +++ b/web/resizing/resizing-row.html @@ -0,0 +1,49 @@ + + + + dc.js - Row Chart Example + + + + + +
+ + + + + + + +