OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [office] chart:axis-type="date"

Hi all,

Andreas concerns are the result of having a look on my draft. So I think it is useful to make this draft available to all.

Kind regards

Andreas J. Guelzow schrieb:

I sent this message initially erroneously to the office-comment list
rather than this list.

I think I finally understand the problem chart:axis-type="date" is
supposed to address:

Some charts, for example the chart:bar class, have an axis that is
predefined to be either a categories axis (i.e. category labels are
evenly spaced and the corresponding values are shown at these evenly
spaced locations) or a value axis (i.e. values are shown at their
relative locations).

For example for a barchart with x-values that are dates (years ), e.g.
1950,1980, 2000, 2010, with a category type axis the 4 bars would be
evenly spaced as if at values 1,2,3,4 with these points on the x axis
labelled 1950,1980, 2000, 2010. If we had the same chart type but with a
value type x-axis the bars would not be evenly spaced since the
difference between 1950 and 1980 will be three times as large as the
difference between 2000 and 2010.

I believe Regina's suggestion is to obtain the second chart by labelling
flagging the second axis as chart:axis-type="date".

To me all of this has nothing to do with dates. These values 1950,1980,
2000, 2010 simply differ from other categories like a,b,3,d that they
are all numbers and so can be interpreted as relative locations on the

So since there is nothing special about dates being involved (except
that apparently Excel allows the second type of chart only for date
values) I believe we should not make this date specific, but simply flag
axis with their type (if it differs from their default type), e.g.
chart:axis-type="values" or chart:axis-type="categories" or
chart:axis-type="value-preference" where the last type means that if all
values/categories given are numbers then the axis behaves like a value
axes (placing items in their relative position) and like a categories
axis otherwise.



Andreas J. Guelzow, PhD FTICA <mailto:andreas.guelzow@concordia.ab.ca>

Registrar & Director of Enrolment Services

Professor of Mathematical & Computing Sciences

Direct: +1 780 479 9290
Toll-Free: +1 866 479 5200

Concordia University of Edmonton <http://concordia.ab.ca/>

concordia.ab.ca <http://concordia.ab.ca/>

Concordia University of Edmonton Twitter <http://twitter.com/CUEdmonton>
Concordia University of Edmonton Instagram
<http://instagram.com/cuedmonton/> Concordia University of Edmonton
Facebook <http://facebook.com/CUEdmonton>

Attachment: DraftDateAxisChartClass_v5.odt
Description: application/vnd.oasis.opendocument.text

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]