<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/stats, branch master</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=master</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2021-10-01T15:50:36Z</updated>
<entry>
<title>Don't access gasmix.o2.fraction</title>
<updated>2021-10-01T15:50:36Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2021-10-01T13:50:21Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=41258647d232a24adca394202b44b204409b4c9f'/>
<id>urn:sha1:41258647d232a24adca394202b44b204409b4c9f</id>
<content type='text'>
Air is a special gas that does not contain oxygen according
to gasmix.o2.fraction. If you want to use the fo2, you
need to use get_o2() to treat this special case correctly.

This fixes a bug when setting the MND of a gas containing
21% oxygen when o2 is considered not narcotic.

Reported-by: Christoph Gruen &lt;gruen.christoph@gmail.com&gt;
Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
</content>
</entry>
<entry>
<title>stats: initialize InformationBox::width and height members</title>
<updated>2021-03-09T00:29:04Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-03-05T08:42:10Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=d1c89a55e146b3aee677cbaa96dda6dea485457c'/>
<id>urn:sha1:d1c89a55e146b3aee677cbaa96dda6dea485457c</id>
<content type='text'>
Fixes a Coverity warning. Good style anyway.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>statistics: don't divide by totalCount = 0 in pie charts</title>
<updated>2021-03-05T08:35:13Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-03-05T08:35:13Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7446e8cddddcf02b704bdc1a8bfe74609acbb0d9'/>
<id>urn:sha1:7446e8cddddcf02b704bdc1a8bfe74609acbb0d9</id>
<content type='text'>
This silences a Coverity warning. In principle, this should
never happen, since there are no slices if totalCount is 0.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>stats: initialize PieSeries::radius to 0 in constructor</title>
<updated>2021-03-05T07:22:19Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-03-05T07:22:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=9655417ad3c55752ec1d53ec3b88c7436585d921'/>
<id>urn:sha1:9655417ad3c55752ec1d53ec3b88c7436585d921</id>
<content type='text'>
This silences a Coverity warning. That what harmless, but
it's probably good practice to initialize all members.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>statistics: implement primitive "restrict to selection" feature</title>
<updated>2021-02-13T21:02:54Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-02-12T09:56:48Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5a8d7617ce3d1b54f22a0438f593e844757ecc46'/>
<id>urn:sha1:5a8d7617ce3d1b54f22a0438f593e844757ecc46</id>
<content type='text'>
Allow the user to restrict the analyzed dives based on the
current selection. One button restricts to the current selection
and one button resets the restriction.

Thus, the user can for example select bars in the bar chart
or a range in the scatter plot and perform statistics on
these sets.

The restriction works on top of the filter.

The UI can certainly be improved, but it is a start.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>statistics: implement shift-selection of ranges</title>
<updated>2021-02-13T21:02:54Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-02-10T19:59:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2943b1cbde1a60ef00f1878a27f811246d9b2bc3'/>
<id>urn:sha1:2943b1cbde1a60ef00f1878a27f811246d9b2bc3</id>
<content type='text'>
For all the series but the scatter series (which supports
lasso selection), implement a range-selection using shift.

The code is fairly similar for all series and one might
think about factoring it out. But why bother?

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>statistics: support ctrl-selection for all series</title>
<updated>2021-02-13T21:02:54Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-02-10T11:15:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=43b0ccca3e8db081378d0924de257b4185b90464'/>
<id>urn:sha1:43b0ccca3e8db081378d0924de257b4185b90464</id>
<content type='text'>
Multiple selection using ctrl was only supported for
scatter series. Factor out the corresponding code and
use it in all series.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>statistics: make selection keyboard modifiers more general</title>
<updated>2021-02-13T21:02:54Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-02-08T16:07:37Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=64b82b16a26bcaa624cc35e775b821e33133bdbb'/>
<id>urn:sha1:64b82b16a26bcaa624cc35e775b821e33133bdbb</id>
<content type='text'>
Up to now, we passed a "shiftPressed" flag to the individual
selection functions. To be more general replace by a struct
with "shift" and "ctrl" flags.

While doing this:
1) Move the struct into a new statsselection file for better
   encapsulation.
2) Change shift to control in the scatter series, since individual
   selection of items is usually done with control, not shift.
   Shift usually means "select range".

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>statistics: highlight selected pie slices</title>
<updated>2021-02-13T21:02:54Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-02-07T19:48:43Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=21b8cded56854f81327f4f553e32a15ffe5c7b82'/>
<id>urn:sha1:21b8cded56854f81327f4f553e32a15ffe5c7b82</id>
<content type='text'>
In analogy to the other charts, highlight selected pie slices.
Overlay them with a checkerboard pattern, like in the bar charts.

Since all charts now support highlighting, the divesSelected()
virtual function now doesn't need a default implementation
anymore.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>statistics: highlight selected boxes in box plot</title>
<updated>2021-02-13T21:02:54Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-02-07T17:10:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=bd252fc8201c7e77882ac95ef90ddbf4a16356d3'/>
<id>urn:sha1:bd252fc8201c7e77882ac95ef90ddbf4a16356d3</id>
<content type='text'>
In analogy to bar plots, highlight selected boxes in box plots.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
</feed>
