Position 1 is the first element in a chart, not 0.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2931 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
66529aa044
commit
abcc8d6d89
@ -78,7 +78,7 @@ the chart values to <TT>a</TT> and <TT>b</TT> respectively.
|
||||
<H4><A name=Fl_Chart.insert>void insert(int pos, double value, const
|
||||
char *label = NULL, uchar color = 0)</A></H4>
|
||||
The <TT>insert</TT> method inserts a data value at the given position <TT>
|
||||
pos</TT>. Position 0 is the first data value.
|
||||
pos</TT>. Position 1 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
|
||||
@ -87,7 +87,7 @@ 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>
|
||||
value</TT>, <TT>label</TT>, and <TT>color</TT>. Position 0 is the
|
||||
value</TT>, <TT>label</TT>, and <TT>color</TT>. Position 1 is the
|
||||
first data value.
|
||||
<H4><A name=Fl_Chart.size>int size(void) const</A></H4>
|
||||
The <TT>size</TT> method returns the number of data values in the
|
||||
|
Loading…
x
Reference in New Issue
Block a user