Re: bar charts - y axis



If you need to start the axis at another point, you can edit the Y axis
preferences.

Basically we consider starting at 0 desired behaviour except for values
with units such that 0 is not special.  That would be for dates (which
are in terms on days since 1900-01-01), years, and temperatures in C or F.
We detect dates, but not years and temperatures, and do the right thing.

The code you're looking for is in goffice/graph/gog-axis.c function
map_linear_auto_bound.  If zero isn't too far away from the minimum
we snap to zero.

Morten





On Tue, Jun 24, 2014 at 5:10 PM, Eduardo Silva <edsiper gmail com> wrote:
Hi,

Comparing old versions of Gnumeric and the latest ones, i found that
when generating a simple bar chart with a few values the final Chart
behaves as follows:

having values: 500, 600, 800

1) old version.

  Y axis charts starts on 500

2) new versions

  Y axis charts start on zero

is there a way to force the old behavior ?, or which specific GIT
commit performed this change ?

thanks for your help

--
Eduardo Silva
http://edsiper.linuxchile.cl
http://monkey-project.com
_______________________________________________
gnumeric-list mailing list
gnumeric-list gnome org
https://mail.gnome.org/mailman/listinfo/gnumeric-list


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