| 1 |
lars |
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
|
2 |
<HTML>
|
|
|
3 |
<HEAD>
|
|
|
4 |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
|
|
|
5 |
<LINK REL="Start" HREF="index.html">
|
|
|
6 |
<LINK REL="Contents" HREF="toc.html">
|
|
|
7 |
<LINK REL="Prev" HREF="815Addingalegendtothegraph.html">
|
|
|
8 |
<LINK REL="Next" HREF="817Usingthestepstyletorenderlineplots.html">
|
|
|
9 |
<STYLE TYPE="text/css"><!--
|
|
|
10 |
BODY { font-family: serif }
|
|
|
11 |
H1 { font-family: sans-serif }
|
|
|
12 |
H2 { font-family: sans-serif }
|
|
|
13 |
H3 { font-family: sans-serif }
|
|
|
14 |
H4 { font-family: sans-serif }
|
|
|
15 |
H5 { font-family: sans-serif }
|
|
|
16 |
H6 { font-family: sans-serif }
|
|
|
17 |
SUB { font-size: smaller }
|
|
|
18 |
SUP { font-size: smaller }
|
|
|
19 |
PRE { font-family: monospace }
|
|
|
20 |
A { text-decoration: none }
|
|
|
21 |
--></STYLE>
|
|
|
22 |
</HEAD>
|
|
|
23 |
<BODY>
|
|
|
24 |
<A HREF="toc.html">Contents</A>
|
|
|
25 |
<A HREF="815Addingalegendtothegraph.html">Previous</A>
|
|
|
26 |
<A HREF="817Usingthestepstyletorenderlineplots.html">Next</A>
|
|
|
27 |
<HR NOSHADE>
|
|
|
28 |
<H3><A NAME="8_1_6">8.1.6 Handling null-values in line plots</A></H3>
|
|
|
29 |
<P> JpGraph offers two ways of handling null values (or discontinuities)
|
|
|
30 |
in the data. You can either have a "whole" in the data or the line may
|
|
|
31 |
be extended between the previous and next data point in the graph.</P>
|
|
|
32 |
<P> If the data value is null ("") or the special value "x" then the
|
|
|
33 |
data point will not be plotted and will leave a gap in the line.</P>
|
|
|
34 |
<P> If the data value is "-" then the line will be drawn between the
|
|
|
35 |
previous and next point in the data ignoring the "-" point.</P>
|
|
|
36 |
<P> The following example shows both these possibilities.</P>
|
|
|
37 |
<P><DIV class="example">
|
|
|
38 |
<BR> <A href="exframes/frame_nullvalueex01.html" target="blank"><IMG border="0"
|
|
|
39 |
HEIGHT="250" src="img/nullvalueex01.png" WIDTH="400"></A>
|
|
|
40 |
<BR><B>Figure 13:</B> Handling null values in line graphs <A href="exframes/frame_nullvalueex01.html"
|
|
|
41 |
target="blank">[src]</A>
|
|
|
42 |
<P></P>
|
|
|
43 |
</DIV></P>
|
|
|
44 |
<P></P>
|
|
|
45 |
<HR NOSHADE>
|
|
|
46 |
<A HREF="toc.html">Contents</A>
|
|
|
47 |
<A HREF="815Addingalegendtothegraph.html">Previous</A>
|
|
|
48 |
<A HREF="817Usingthestepstyletorenderlineplots.html">Next</A>
|
|
|
49 |
</BODY>
|
|
|
50 |
</HTML>
|