[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (OFFICE-3936) logarithmic scale misses information about basis
[ https://issues.oasis-open.org/browse/OFFICE-3936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francis Cave updated OFFICE-3936:
---------------------------------
Proposal:
20.xx The chart:major-origin attribute specifies the location of one major tick.
20.xx The chart:minor-logarithmic attribute specifies whether the minor ticks are spaced equally after the logarithmic transformation. If this value is false they are spaced equally before the transformation.
20.27 The chart:interval-major attribute specifies major intervals on an axis 11.8.
If the axis is linear and the value of this attribute is x with the value of chart:major-origin being w, major ticks are placed at w+n*x for n being any (positive, negative or zero) integer.
If the axis is logarithmic and the value of this attribute is x with the value of chart:major-origin being w, major ticks are placed at w*(10^(n*x)) for n being any (positive, negative or zero) integer. (Note: if
{noformat}
x = log_{10}(y){noformat}
, then
{noformat}
10^(n*x) = y^n{noformat}
.)
20.28 The chart:interval-minor-divisor attribute specifies a divisor for the chart:interval-major value, the division of which determines the minor interval:
If chart:minor-logarithmic is false the ticks are placed as follows:
If a and b are the values of consecutive major ticks (see 20.27) and m is the value of chart:interval-minor-divisor then the minor ticks are placed at locations corresponding to the values a + (b-a)/m * k with k = 1,2, ..., (m-1). So the minor ticks are equally spaced before the logarithmic transformation.
If chart:minor-logarithmic is true the ticks are placed as follows:
If a and b are the values of consecutive major ticks (see 20.27) and m is the value of chart:interval-minor-divisor then the minor ticks are placed at locations corresponding to the values a*((b/a)^(k/m)) with k = 1,2, ..., (m-1). So the minor ticks are equally spaced after the logarithmic transformation.
Schema Change:
{noformat}
--- OpenDocument-v1.2-os-schema.rng 2017-10-27 18:22:13.973894000 -0600
+++ OpenDocument-v1.2-os-schema+log-changes.rng 2017-10-29 12:12:35.544258788 -0600
@@ -17476,11 +17476,21 @@
</attribute>
</optional>
<optional>
+ <attribute name="chart:major-origin">
+ <ref name="double"/>
+ </attribute>
+ </optional>
+ <optional>
<attribute name="chart:interval-major">
<ref name="double"/>
</attribute>
</optional>
<optional>
+ <attribute name="chart:minor-logarithmic">
+ <ref name="boolean"/>
+ </attribute>
+ </optional>
+ <optional>
<attribute name="chart:interval-minor-divisor">
<ref name="positiveInteger"/>
</attribute>
{noformat}
was:
20.xx The chart:major-origin attribute specifies the location of one major tick.
20.xx The chart:minor-logarithmic attribute specifies whether the minor ticks are spaced equally after the logarithmic transformation. If this value is false they are spaced equally before the transformation.
20.27 The chart:interval-major attribute specifies major intervals on an axis 11.8.
If the axis is linear and the value of this attribute is x with the value of chart:major-origin being w, major ticks are placed at w+n*x for n being any (positive, negative or zero) integer.
If the axis is logarithmic and the value of this attribute is x with the value of chart:major-origin being w, major ticks are placed at w*(10^(n*x)) for n being any (positive, negative or zero) integer. (Note: if {noformat}x = log_{10}(y){noformat}, then {noformat}10^(n*x) = y^n{noformat}.)
20.28 The chart:interval-minor-divisor attribute specifies a divisor for the chart:interval-major value, the division of which determines the minor interval:
If chart:minor-logarithmic is false the ticks are placed as follows:
If a and b are the values of consecutive major ticks (see 20.27) and m is the value of chart:interval-minor-divisor then the minor ticks are placed at locations corresponding to the values a + (b-a)/m * k with k = 1,2, ..., (m-1). So the minor ticks are equally spaced before the logarithmic transformation.
If chart:minor-logarithmic is true the ticks are placed as follows:
If a and b are the values of consecutive major ticks (see 20.27) and m is the value of chart:interval-minor-divisor then the minor ticks are placed at locations corresponding to the values a*((b/a)^(k/m)) with k = 1,2, ..., (m-1). So the minor ticks are equally spaced after the logarithmic transformation.
Schema Change:
{noformat}
--- OpenDocument-v1.2-os-schema.rng 2017-10-27 18:22:13.973894000 -0600
+++ OpenDocument-v1.2-os-schema+log-changes.rng 2017-10-29 12:12:35.544258788 -0600
@@ -17476,11 +17476,21 @@
</attribute>
</optional>
<optional>
+ <attribute name="chart:major-origin">
+ <ref name="double"/>
+ </attribute>
+ </optional>
+ <optional>
<attribute name="chart:interval-major">
<ref name="double"/>
</attribute>
</optional>
<optional>
+ <attribute name="chart:minor-logarithmic">
+ <ref name="boolean"/>
+ </attribute>
+ </optional>
+ <optional>
<attribute name="chart:interval-minor-divisor">
<ref name="positiveInteger"/>
</attribute>
{noformat}
Resolution:
Resolve as proposed. 2 November 2020:
h3. 20.28 chart:interval-major
The {{chart:interval-major}} attribute specifies major intervals on an axis 11.9.
If the axis is linear and the value of this attribute is x with the value of {{chart:major-origin}} being w, major ticks are placed at _w_ + _n_ {{*}} _x_ for _n_ being any (positive, negative or zero) integer.
If the axis is logarithmic and the value of this attribute is x with the value of {{chart:major-origin}} being w, major ticks are placed at _w_ * (10 ^(_n_ * _x_)^) for _n_ being any (positive, negative or zero) integer.
Note: if x = log ~10~ (_y_), then 10 ^(_n_ * _x_)^ = y ^_n_^.
This attribute is evaluated for a chart style that is applied to a {{<chart:axis>}} 11.9 element.
h3. 20.29 chart:interval-minor-divisor
The {{chart:interval-minor-divisor}} attribute specifies a divisor for the {{chart:interval-major}} 20.28 value, the division of which determines the minor interval.
If {{chart:minor-logarithmic}} attribute is {{false}} the ticks are placed as follows:
If _a_ and _b_ are the values of consecutive major ticks (see 20.28) and _m_ is the value of {{chart:interval-minor-divisor}} then the minor ticks are placed at locations corresponding to the values _a_ + (_b_ - _a_) / _m_ * _k_ with _k_ = 1,2, ... ,(_m_ - 1). So the minor ticks are equally spaced before the logarithmic transformation.
If {{chart:minor-logarithmic}} attribute is true the ticks are placed as follows:
If _a_ and _b_ are the values of consecutive major ticks (see 20.28) and _m_ is the value of {{chart:interval-minor-divisor}} then the minor ticks are placed at locations corresponding to the values _a_ * ( (_b_ / _a_) ^(_k_ / _m_)^ ) with _k_ = 1,2, ... ,(_m_ - 1). So the minor ticks are equally spaced after the logarithmic transformation.
This attribute is evaluated for a chart style that is applied to a <chart:axis> 11.9 element.
h3. 20.37 chart:major-origin
The {{chart:major-origin}} attribute specifies the location of one major tick.
h3. 20.38 chart:minor-logarithmic
The {{chart:minor-logarithmic}} attribute specifies whether the minor ticks are spaced equally after the logarithmic transformation. If this value is false they are spaced equally before the transformation.
was:Resolve as proposed. 2 November 2020.
> logarithmic scale misses information about basis
> ------------------------------------------------
>
> Key: OFFICE-3936
> URL: https://issues.oasis-open.org/browse/OFFICE-3936
> Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
> Issue Type: New Feature
> Components: Chart
> Affects Versions: ODF 1.2
> Reporter: Regina Henschel
> Assignee: Andreas Guelzow
> Priority: Major
> Fix For: ODF 1.4
>
>
> http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#property-chart_interval-major
> Although the basis 10 is widely used, others a common too, e.g basis 2 for audiogram.
> This proposal adds not only the basis but additional details to the description of chart:interval-major and chart:interval-minor-division.
> Specifications are not only read by developers but by authors of guides and tutorials too. For those the mathematic impact of the attributes values might be not obvious.
> Formulas in the proposal are written StarMath.
> I think, that logarithmic scale should only be allowed for a value-axis, but have not included that in this proposal.
--
This message was sent by Atlassian Jira
(v8.3.3#803004)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]