From 68823231727a8aef4ae10895da495f1cad61bc33 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 1 Feb 1999 20:15:00 +0000 Subject: 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 --- documentation/Fl_Chart.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'documentation/Fl_Chart.html') 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 @@

Description

- This widget displays simple charts and is provided for forms -compatibility. +This widget displays simple charts and is provided for Forms compatibility.

Methods

@@ -81,8 +80,9 @@ char *label = NULL, uchar color = 0) pos. Position 0 is the first data value.

int maxsize(void) const
void maxsize(int n)

- The maxsize method gets or sets the maximum number of data -values for a chart. +The maxsize 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.

void replace(int pos, double value, const char *label = NULL, uchar color = 0)

The replace method replaces data value pos with @@ -116,4 +116,4 @@ proportionate slice in the circle. The second form of type() sets the chart type to t.
- \ No newline at end of file + -- cgit v1.2.3