summaryrefslogtreecommitdiff
path: root/website/app.js
diff options
context:
space:
mode:
authorJaePil Jung <jjp5023@gmail.com>2019-02-04 22:40:39 +0900
committerRyan Dahl <ry@tinyclouds.org>2019-02-04 08:40:39 -0500
commit66cea3906733955c6c1fb223d0bf42eb6bc456b4 (patch)
treec77b10bce35acbff06964bf1af22e8a61efcad92 /website/app.js
parentcb95797e2783ed9b209248576bdcea98c3f6f1ff (diff)
Fixed chart width to responsive (#1670)
Diffstat (limited to 'website/app.js')
-rw-r--r--website/app.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/website/app.js b/website/app.js
index b1bce55aa..18d2899df 100644
--- a/website/app.js
+++ b/website/app.js
@@ -135,11 +135,6 @@ function generate(
// @ts-ignore
c3.generate({
bindto: id,
- size: {
- height: 300,
- // @ts-ignore
- width: window.chartWidth || 375 // TODO: do not use global variable
- },
data: {
columns,
onclick