There is a gap at the end of the chart generated with JPGraph

42 views
Skip to first unread message

Liam Toaldo

unread,
Jan 15, 2024, 2:56:14 PM1/15/24
to JpGraph

I'm generating a graph with JPGraph and it ends before it should, with a gap (it does not remove data, though). Not only that, it also adds some weird numbers, they look like hours and minutes, but some are different than my hour format which is HH:ii, so I don't know what they are. These numbers are not stable and change depending by how much dates the xaxis has (I guess). bugged graph In fact, there is no issue with a tenth of the data used for the previous chart: correct graph I've already checked everything regarding the data I pass to the functions, both the dates and the actual data have the same count(). This issue only arises when using the scale $graph->SetScale("datlin"), in fact if I use textlin this does not happen, but the tick count is not automatic, like with the datlin scale.

I don't know if it's a bug in the library or if I'm doing something wrong.

Here is the code:
partialCodeJPGraph.php
Reply all
Reply to author
Forward
0 new messages