Skip to content

Commit

Permalink
Update StockUsageGraph.php
Browse files Browse the repository at this point in the history
1. Set graph to back to bars. (original value, but was being assigned incorrectly)
2. Adjust left margin pixel value, suggested by @huguesderiau
  • Loading branch information
TurboPT authored Nov 16, 2020
1 parent 15240c8 commit 282cc93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions StockUsageGraph.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
$graph->SetYTitle(_('Quantity'));
$graph->SetBackgroundColor("wheat");
$graph->SetTitleColor("blue");
$graph->SetPlotType('linepoints');
$graph->SetPlotType('bars');
$graph->SetShading(5);
$graph->SetDrawYGrid(TRUE);
$graph->SetMarginsPixels(40, 40, 40, 40);
$graph->SetMarginsPixels(60, 40, 40, 40);
$graph->SetDataType('text-data');

if($_GET['StockLocation'] == 'All') {
Expand Down

0 comments on commit 282cc93

Please sign in to comment.