Skip to content

Commit 2b723cd

Browse files
committed
Documented the anti-alias feature. Fixes issue weewx#6.
1 parent 98035ca commit 2b723cd

File tree

6 files changed

+25
-5
lines changed

6 files changed

+25
-5
lines changed

docs/changes.txt

+5-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ Fixed reference to index.html.tmpl in the xstats example.
3131
Changed algorithm for calculating ET to something more appropriate for
3232
hourly values (former algorithm assumed daily values). Fixes issue #160.
3333

34-
Fixed bug that was introduced in v3.6.0, which prevented wee_reports for working
35-
at anything other than the current time.
34+
Fixed bug that was introduced in v3.6.0, which prevented wee_reports from working
35+
for anything other than the current time.
36+
37+
Documented the experimental anti-alias feature, which has been in weewx
38+
since v3.1.0. Fixes issue #6.
3639

3740

3841
3.6.2 11/08/2016

docs/customizing.htm

+17-3
Original file line numberDiff line numberDiff line change
@@ -3887,11 +3887,25 @@ <h3>Overall options</h3>
38873887
<span class='code'>0xa0a0a0</span></p>
38883888

38893889
<div class="image image-right" style="clear:right">
3890-
<img src="images/weektempdew.png" alt="Example of day/night bands"/>
3890+
<div class="image" >
3891+
<img src="images/antialias.gif" alt="Effect of anti_alias option"/>
38913892

3892-
<div class="image_caption">Example of day/night bands in a one
3893-
week image</div>
3893+
<div class="image_caption">A GIF showing the same image with
3894+
<span class="code">anti_alias=1</span>, <span class="code">2</span>, and
3895+
<span class="code">4</span>.</div>
3896+
</div>
3897+
<div class="image">
3898+
<img src="images/weektempdew.png" alt="Example of day/night bands"/>
3899+
3900+
<div class="image_caption">Example of day/night bands in a one
3901+
week image</div>
3902+
</div>
38943903
</div>
3904+
<p class="config_option">anti_alias</p>
3905+
3906+
<p>Setting to 2 or more might give a sharper image, with fewer jagged edges. Experimentation is
3907+
in order. Default is <span class="code">1</span>.</p>
3908+
38953909
<p class="config_option">show_daynight</p>
38963910

38973911
<p>

docs/images/antialias.gif

52.9 KB
Loading

docs/images/image_parts.png

-98 Bytes
Loading

docs/images/image_parts.xcf

0 Bytes
Binary file not shown.

skins/Standard/skin.conf

+3
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,9 @@
295295
chart_background_color = 0xd8d8d8
296296
chart_gridline_color = 0xa0a0a0
297297

298+
# Setting to 2 or more might give a sharper image with fewer jagged edges.
299+
anti_alias = 1
300+
298301
top_label_font_path = /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf
299302
top_label_font_size = 10
300303

0 commit comments

Comments
 (0)