Search code examples
phpbar-chartjpgraph

jpgraph stacked bar chart lower into bottom


Data almost exactly the same, but just minor increase in value in each record, however the bar seems got extended below the axis! when stack together... Does anyone has similar issue before?

Thank You

Before

enter image description here

After enter image description here


Solution

  • As I mentioned above and as a graph shows you have a negative number in last Unaccounted Hours array element.