Active
Project:
Trackfield
Version:
5.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Nov 2009 at 21:09 UTC
Updated:
16 Nov 2009 at 08:35 UTC
Hi,
Is it possible to set the unit spacing for the x and y axis? As it is now the distance in meters overlap and is hard to read.
Comments
Comment #1
raintonr commentedYou can configure the font size in
admin/settings/trackfield/graphTTF fonts are supported and you should set the path on that page too, which should help this.
Do you have a sample image that is being generated so we can see just how bad the issue is?
Comment #2
Boletus commentedThanks for answering so fast! I'll send you a PM since the site is not online yet! :)
Comment #3
Boletus commentedIt seems that the jpgraph changes to km at some point when the track becomes long. If I could only find where ...
Comment #4
raintonr commented@#3... trackfield_graph.inc, line 317:
TRACKFIELD_METRIC_M_MAXis defined at the top oftrackfield.moduleand is set to 10,000.Comment #5
Boletus commentedHi,
I tried to change the TRACKFIELD_METRIC_M_MAX to 5000. Every track is longer than 5 km, and I would like kilometers on the distance axis. But I graph shows zero distance. Me and my mathematics ... Do I think backwards? :)