Kore Nordmann wrote: > Hi, > > On Thu, 2009-01-15 at 12:42 +0100, Peter Hopfgartner wrote: > >> I'm experimenting with the graph component. Unfortunatly some ticks on >> the x-axis are missing. >> >> I've attached a reduced test case and the result. Is this one of those >> "numerical inaccuracies", as stated in >> >> Platform: Ubuntu 8.10, 64 bit >> PHP: 5.2.6 >> Graph: 1.4 >> Base: 1.6 >> >> It happens with GD and with Cairo. >> >> Is there anything I am doing wrong? >> > > It is the default behavior of the labeled axis to reduce the amount of > labels to a value specified in the labelCount option. You can change > that using: > > $chart->xAxis->labelCount = count( $dataset ); > > You might want to consider using a different axis type, which better > fits the assigned data, like a numeric axis, which is documented here: > > http://ezcomponents.org/docs/tutorials/Graph#axis > > Kind regards, > Kore > > Hi Kore,
It works fine, now. Thanks a lot, Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com -- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/listinfo/components