I am drawing a bar chart, and the chart area is a lot smaller than the image. What is going on?
As of version 1.30, GD::Graph automatically corrects the width of the plotting area of a chart if it needs to draw bars (i.e. for bars and some mixed charts). This is necessary, because rounding errors cause irregular gaps between or overlaps of bars if the bar is not an exact integer number of pixels wide. If you want the old behaviour back, set the correct_width attribute to a false value.
Related Questions
- We are going to renovate our restaurant to make the front of the house bigger, unfortunately, this will make our kitchen area much smaller. Can Plate-Mate help?
- My annotation/symbols are huge or take up the entire drawing area, as one big blob. Whats going on?
- I am drawing a bar chart, and the chart area is a lot smaller than the image. What is going on?