view gnv-artifacts/doc/conf/charttemplate.xml @ 364:2413273f1c13

Workarround: Store lower and upper bounds of data while iterating over all data and set the max range of axes with these information. JFreeCharts method NumberAxis.setAutoRange(true) doesn't seem to work properly. gnv-artifacts/trunk@439 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 16 Dec 2009 11:58:44 +0000
parents 22a6493e8460
children 250160797195
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<theme>
    <name value="Default Theme" />
    <!-- ========================= chart =======================!-->
    <chart>
        <background>
            <color value="0xFFFFFF" />
        </background>
    </chart>
    <!-- ========================= title ==========================!-->
    <title>
        <font>
            <size value="20" />
            <type value="Tahoma" />
            <color value="0x000000" />
            <bold value="true" />
        </font>
    </title>
    <!-- ========================= subtitle =======================!-->
    <subtitle>
        <font>
            <size value="14" />
            <type value="Tahoma" />
            <color value="0x000000" />
            <bold value="false" />
        </font>
    </subtitle>
    <!-- ========================= legend =======================!-->
    <legend>
        <font>
            <size value="12" />
            <color value="0x000000" />
        </font>
        <background>
            <color value="0xFFFFFF" />
        </background>
    </legend>
    <!-- ========================= plot =======================!-->
    <plot>
        <background>
            <color value="0xDDDDDD" />
        </background>
        <outline>
            <color value="0xAAAAAA" />
        </outline>
        <domaingridline>
            <color value="0xFFFFFF" />
        </domaingridline>
        <rangegridline>
            <color value="0xFFFFFF" />
        </rangegridline>
        <domaincrosshair>
            <visible value="true" />
        </domaincrosshair>
        <rangecrosshair>
            <visible value="true" />
        </rangecrosshair>
        <offset>
            <top>5</top>
            <bottom>5</bottom>
            <left>5</left>
            <right>5</right>
        </offset>
        <itemrenderer>
            <width value="4" />
            <height value="4" />
            <renderLines value="true" />
            <renderPoints value="true" />
        </itemrenderer>
    </plot>
    <!-- ========================= axis =======================!-->
    <axis>
        <label>
            <color value="0x000000" />
        </label>
        <ticklabel>
            <color value="0x000000" />
        </ticklabel>
    </axis>
</theme>

http://dive4elements.wald.intevation.org