Graphing - axis tick autospacing



Hi,

As asked by Jody, here's a patch I submit to the list for discussion.

This patch is related to calculation of auto spacing of tick marks for
axis.

What need to be discussed is the new heuristic and the removal of the
pull to 0 feature.

The new heuristic should provide better autospacing results for values <
-1.0, and has a parameter for the desired number of ticks (currently a
defined constant, but could be a user setting). Compare results with
cursor set to 60 and 61 obtained with head and with patch applied.

This patch also removes pull to 0, since if user wants this behaviour,
he can set it manually. 

You'll find attached the patch and a gnumeric test file.

So, comments ?

Regards,

Emmanuel.

Attachment: Test-axis.gnumeric
Description: application/gnumeric

Attachment: gnumeric-gog-axis-ticks.patch
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]