ASK APPLETSTETRACTYS LogoTETRACTYS Software
  • Home

    How to

  • Ask an Applet

    Collections

  • Index
  • Utilities
  • Science
  • Graphic FX
  • Games
  • Site Statistics 1.0 a useful Graph Viewer
    Download it here! only 5230 bytes

    Site Statistics is an applet that shows data taken from a file in bar charts. It may be useful to display the statistics of your site.

    Click here to see the Applet at work
    (Data of the 1997)


    Applet Installation

    Simply upload the file SiteStatistics1.zip to your site and put these HTML tags in your page:

    <APPLET CODE=GuestStat.class
    ARCHIVE=SiteStatistics1.zip WIDTH=640 HEIGHT=480>
    </APPLET>
    
    Then you must upload the file guestdat.txt that contains the data to be displayed.

    Finally, you need seventeen images. The first is gsImg0.gif (320x80), used to display the title, and the others are gsImg1.gif to gsImg16.gif (all 160x40), used to display the buttons.


    Data File guestdat.txt Format

    The data file is a simple text file.

    The graphs in the file must be eight. Every record is in a single line. The meaning of the values in the lines for every Graph is the following:

    • 1 Vertical Bar Chart, 2 Horizontal Bar Chart
      • Then for a Vertical Bar Chart follows
        1. Unit step of horizontal lines
        2. Number of items
          • Then for every item
            1. Name of the item (. for nothing)
            2. Height of the item
      • For a Horizontal Bar Chart follows
        1. Number of items
          • Then for every item
            1. Name of the item (. for nothing)
            2. Number of segments in the item
              • Then for every segment in the item
                1. Name of the segment
                2. Length of the segment
    That's all!

    For any question ask to TETRACTYS Software.

    For more information
    send an email to
    TETRACTYS Software
    Copyright © 1999 Leonardo Boselli
    All Rights Reserved. Legal Terms.