Skip to content
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.

Commit

Permalink
removed margin as it was causing the scrollbar bug
Browse files Browse the repository at this point in the history
  • Loading branch information
szydan committed Feb 22, 2017
1 parent c6cb846 commit e9fc0b8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions public/kibi_radar_vis_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ define(function (require) {
let data;
let config;
let chartVis;
let margin;
let width;
let height;
// declare data
Expand All @@ -23,7 +22,6 @@ define(function (require) {

// set default config
const _initConfig = function () {
margin = 20;
const chartW = width / 3;
const chartH = width / 3;
config = {
Expand Down Expand Up @@ -135,7 +133,7 @@ define(function (require) {
const div = d3.select(svgRoot)
.append('svg')
.attr('width', width)
.attr('height', height + margin);
.attr('height', height);

//create main chartVis svg
if (config.facet) {
Expand Down

0 comments on commit e9fc0b8

Please sign in to comment.