diff options
Diffstat (limited to 'src/charts/line.php')
-rw-r--r-- | src/charts/line.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charts/line.php b/src/charts/line.php index e17ef2d..adc5b55 100644 --- a/src/charts/line.php +++ b/src/charts/line.php @@ -33,8 +33,8 @@ class ezcGraphLineChart extends ezcGraphChart foreach ( $data as $key => $value ) { $point = new ezcGraphCoordinate( - $this->elements['X_axis']->getCoordinate( $boundings, $key ), - $this->elements['Y_axis']->getCoordinate( $boundings, $value ) + (int) round( $this->elements['X_axis']->getCoordinate( $boundings, $key ) ), + (int) round( $this->elements['Y_axis']->getCoordinate( $boundings, $value ) ) ); // Draw line |