summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1999-02-01 20:15:00 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1999-02-01 20:15:00 +0000
commit68823231727a8aef4ae10895da495f1cad61bc33 (patch)
tree116102582791734290b6854abe63f4d5b0374cd1 /documentation
parent468391363b9ca2e5a39e706cfc6b8dd43e4db983 (diff)
Updated Fl_Chart to allocate entries dynamically. The previous "scrolling"
behavior can be restored by calling Fl_Chart::maxsize(), otherwise entries can be added until you run out of memory. git-svn-id: file:///fltk/svn/fltk/trunk@262 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation')
-rw-r--r--documentation/Fl_Chart.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/documentation/Fl_Chart.html b/documentation/Fl_Chart.html
index 83c6834eb..80946d7e5 100644
--- a/documentation/Fl_Chart.html
+++ b/documentation/Fl_Chart.html
@@ -17,8 +17,7 @@
</PRE>
</UL>
<H3>Description</H3>
- This widget displays simple charts and is provided for forms
-compatibility.
+This widget displays simple charts and is provided for Forms compatibility.
<H3>Methods</H3>
<CENTER>
<TABLE width=90%>
@@ -81,8 +80,9 @@ char *label = NULL, uchar color = 0)</A></H4>
pos</TT>. Position 0 is the first data value.
<H4><A name=Fl_Chart.maxsize>int maxsize(void) const
<BR> void maxsize(int n)</A></H4>
- The <TT>maxsize</TT> method gets or sets the maximum number of data
-values for a chart.
+The <TT>maxsize</TT> method gets or sets the maximum number of data
+values for a chart. If you do not call this method then the chart will
+be allowed to grow to any size depending on available memory.
<H4><A name=Fl_Chart.replace>void replace(int pos, double value, const
char *label = NULL, uchar color = 0)</A></H4>
The <TT>replace</TT> method replaces data value <TT>pos</TT> with <TT>
@@ -116,4 +116,4 @@ proportionate slice in the circle.</DD>
</DL>
The second form of <TT>type()</TT> sets the chart type to <TT>t</TT>.
<CENTER><IMG src=./charts.gif width=80%></CENTER>
-</BODY></HTML> \ No newline at end of file
+</BODY></HTML>