jpgraph 4.2.0 - graph is hide by legend

71 views
Skip to first unread message

beck.maxi...@gmail.com

unread,
May 16, 2018, 8:32:10 AM5/16/18
to JpGraph


I have a problem under 4.2.0 pro with the bar plot legend. If I try the example from https://jpgraph.net/features/src/show-example.php?target=new_bar6.php with 4.1.0 pro, the legend is on the bottom and the graph is on top (how it should looks like). If I run the Example with 4.2.0 pro, the legend is in front of the graph and the y-scale is hide by the legend. How can I fix it?

4.1.0:


4.2.0:


David Martin

unread,
May 17, 2018, 9:00:47 AM5/17/18
to JpGraph
Add
 $graph->legend->pos(.15,.91);

after
$graph->legend->SetColor('#4E4E4E','#00A78A');

to move it down a little bit.
Reply all
Reply to author
Forward
0 new messages