diff --git a/src/NeatCharts/LineChart.php b/src/NeatCharts/LineChart.php index 1c62f44..ec474a1 100644 --- a/src/NeatCharts/LineChart.php +++ b/src/NeatCharts/LineChart.php @@ -84,7 +84,7 @@ namespace NeatCharts { $this->height = floor($aspectRatio * $this->width); $this->options['height'] = $this->height + $this->padding['top'] + $this->padding['bottom']; } - + $this->padding['left'] = $this->padding['right'] = $this->options['fontSize'] / 2; if ($this->options['yAxisEnabled']) { $numLabels = 2 + ceil($this->height / $this->options['fontSize'] / 6); $labelInterval = $this->yRange / $numLabels;