Changeset 44:5f48fc9d6e7d in stamper for docs/_build/html/using.html


Ignore:
Timestamp:
Aug 14, 2014, 9:17:17 AM (10 years ago)
Author:
Borja Lopez <borja@…>
Branch:
default
Phase:
public
Message:

Added charts generation documentation

Added information on how to get the list of full arguments on the command
line for the stamps tool

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/_build/html/using.html

    r42 r44  
    6161<li><a class="reference internal" href="#per-day-details" id="id9">Per day details</a></li>
    6262<li><a class="reference internal" href="#timeline" id="id10">Timeline</a></li>
    63 <li><a class="reference internal" href="#full-list-of-arguments" id="id11">Full List of arguments</a></li>
    64 </ul>
    65 </li>
    66 <li><a class="reference internal" href="#date-based-filtering" id="id12">Date-based filtering</a></li>
     63<li><a class="reference internal" href="#charts" id="id11">Charts</a></li>
     64</ul>
     65</li>
     66<li><a class="reference internal" href="#stamps-full-list-of-arguments" id="id12">stamps - full List of arguments</a></li>
     67<li><a class="reference internal" href="#date-based-filtering" id="id13">Date-based filtering</a></li>
    6768</ul>
    6869</li>
     
    200201</div>
    201202</div>
    202 <div class="section" id="full-list-of-arguments">
    203 <h3><a class="toc-backref" href="#id11">Full List of arguments</a><a class="headerlink" href="#full-list-of-arguments" title="Permalink to this headline">¶</a></h3>
     203<div class="section" id="charts">
     204<h3><a class="toc-backref" href="#id11">Charts</a><a class="headerlink" href="#charts" title="Permalink to this headline">¶</a></h3>
     205<p>You can generate some nice charts from your stamps. So far only bar charts
     206showing the total time per day can be generated, but you can filter them by
     207<strong>ID</strong> and/or date. Some examples:</p>
     208<ul>
     209<li><p class="first">Render a chart of all the times already stamped, by <strong>ID</strong>:</p>
     210<div class="highlight-python"><div class="highlight"><pre><span class="n">stamps</span> <span class="o">-</span><span class="n">g</span>
     211</pre></div>
     212</div>
     213</li>
     214<li><p class="first">Render a chart of the stamps for the last 4 days:</p>
     215<div class="highlight-python"><div class="highlight"><pre>stamps -g 4d
     216</pre></div>
     217</div>
     218</li>
     219<li><p class="first">Render a chart of the stamps for the <strong>ID</strong> <em>stamper</em> for the last week:</p>
     220<div class="highlight-python"><div class="highlight"><pre>stamps -g stamper 1w
     221</pre></div>
     222</div>
     223</li>
     224</ul>
     225<div class="admonition note">
     226<p class="first admonition-title">Note</p>
     227<p class="last">The charts will be saved into <strong>~/.workstamps-charts</strong>, in <a class="reference external" href="http://en.wikipedia.org/wiki/Scalable_Vector_Graphics">SVG</a> format.
     228The name of the chart will be generated based on the current date and
     229time, and a <em>symbolic link</em> called <strong>chart-latest.svg</strong> will be created,
     230pointing to the latest chart generated.</p>
     231</div>
     232</div>
     233</div>
     234<div class="section" id="stamps-full-list-of-arguments">
     235<h2><a class="toc-backref" href="#id12">stamps - full List of arguments</a><a class="headerlink" href="#stamps-full-list-of-arguments" title="Permalink to this headline">¶</a></h2>
     236<p>You can get the full list of arguments from the command line too:</p>
     237<div class="highlight-python"><div class="highlight"><pre><span class="n">stamps</span> <span class="o">-</span><span class="n">h</span>
     238</pre></div>
     239</div>
     240<p>or:</p>
     241<div class="highlight-python"><div class="highlight"><pre><span class="n">stamps</span> <span class="o">--</span><span class="n">help</span>
     242</pre></div>
     243</div>
    204244<p>stamps: show recorded times information</p>
    205245<pre class="literal-block">
     
    254294</dl>
    255295</div>
    256 </div>
    257296<div class="section" id="date-based-filtering">
    258 <span id="id2"></span><h2><a class="toc-backref" href="#id12">Date-based filtering</a><a class="headerlink" href="#date-based-filtering" title="Permalink to this headline">¶</a></h2>
     297<span id="id2"></span><h2><a class="toc-backref" href="#id13">Date-based filtering</a><a class="headerlink" href="#date-based-filtering" title="Permalink to this headline">¶</a></h2>
    259298<p>Most of the results returned by the <em>stamps</em> tool can be filtered using the
    260299following date-based filters:</p>
     
    328367<li><a class="reference internal" href="#per-day-details">Per day details</a></li>
    329368<li><a class="reference internal" href="#timeline">Timeline</a></li>
    330 <li><a class="reference internal" href="#full-list-of-arguments">Full List of arguments</a></li>
    331 </ul>
    332 </li>
     369<li><a class="reference internal" href="#charts">Charts</a></li>
     370</ul>
     371</li>
     372<li><a class="reference internal" href="#stamps-full-list-of-arguments">stamps - full List of arguments</a></li>
    333373<li><a class="reference internal" href="#date-based-filtering">Date-based filtering</a></li>
    334374</ul>
Note: See TracChangeset for help on using the changeset viewer.