13 lines
4 KiB
HTML
13 lines
4 KiB
HTML
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Chapter 4. Your first graph script</title><link rel="stylesheet" href="manual.css" type="text/css"><meta name="generator" content="DocBook XSL-NS Stylesheets V1.74.0"><link rel="home" href="index.html" title="JpGraph Manual"><link rel="up" href="pt02.html" title="Part II. Basic graph creation"><link rel="prev" href="pt02.html" title="Part II. Basic graph creation"><link rel="next" href="ch04s02.html" title="4.2. Graphing the number of sun spots during the 19th Century"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 4. Your first graph script</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pt02.html">Prev</a> </td><th width="60%" align="center">Part II. Basic graph creation</th><td width="20%" align="right"> <a accesskey="n" href="ch04s02.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="id2496880"></a>Chapter 4. Your first graph script</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ch04.html#id2496900">4.1. Some words of caution</a></span></dt><dt><span class="sect1"><a href="ch04s02.html">4.2. Graphing the number of sun spots during the 19th Century</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch04s02.html#id2496944">4.2.1. The historic data</a></span></dt><dt><span class="sect2"><a href="ch04s02.html#sec.preparing-sunspots-data">4.2.2. Preparing the data</a></span></dt><dt><span class="sect2"><a href="ch04s02.html#id2498157">4.2.3. A basic line graph</a></span></dt><dt><span class="sect2"><a href="ch04s02.html#id2516422">4.2.4. A basic bar graph</a></span></dt></dl></dd></dl></div><p><b>What you will learn in this chapter. </b>This chapter will illustrate how a basic line and bar graph can be created and it
|
||
will also show how input data should be prepared so it can be read and used by the
|
||
library.</p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2496900"></a>4.1. Some words of caution</h2></div></div></div><p>In order to quickly show a very first example we will create both a basic line
|
||
graph and a basic bar graph that depicts the number of sun spots (a.k.a. solar
|
||
flares) during the 19th century. The goal of this example is not to show every
|
||
possible configuration and parameter supported by the library but rather show how
|
||
simple it is to create a basic graph.</p><p>In the sections following this one we will describe more in details the
|
||
idiosyncrasies about dynamic graph generation and JpGraph so even if you don't fully
|
||
understand all the detail it will give a flavor of what is to come. As with all
|
||
complex libraries one has to start somewhere and sometimes accept some practices
|
||
without yet fully understand them. However, the goal of this manual is that after
|
||
reading it through you will fully understand every single detail shown in this
|
||
script.</p><p>So, without further due, let's start.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="pt02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pt02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch04s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Part II. Basic graph creation </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 4.2. Graphing the number of sun spots during the 19th Century</td></tr></table></div></body></html>
|