31#define FL_HORBAR_CHART         1        
   32#define FL_LINE_CHART           2        
   33#define FL_FILL_CHART           3        
   34#define FL_SPIKE_CHART          4        
   36#define FL_SPECIALPIE_CHART     6        
   38#define FL_FILLED_CHART  FL_FILL_CHART   
   40#define FL_CHART_MAX            128      
   41#define FL_CHART_LABEL_MAX      18       
   47   char str[FL_CHART_LABEL_MAX+1];   
 
 
   85    Fl_Chart(
int X, 
int Y, 
int W, 
int H, 
const char *L = 0);
 
   91    void add(
double val, 
const char *str = 0, 
unsigned col = 0);
 
   93    void insert(
int ind, 
double val, 
const char *str = 0, 
unsigned col = 0);
 
   95    void replace(
int ind, 
double val, 
const char *str = 0, 
unsigned col = 0);
 
  101    void bounds(
double *a,
double *b)
 const {*a = min; *b = max;}
 
  103    void bounds(
double a,
double b);
 
  108    int size()
 const {
return numb;}
 
 
int Fl_Font
A font number is an index into the internal font table.
Definition Enumerations.H:884
unsigned int Fl_Color
An FLTK color value; see also Colors.
Definition Enumerations.H:941
int Fl_Fontsize
Size of a font in pixels.
Definition Enumerations.H:913
Fl_Color textcolor() const
Gets the chart's text color.
Definition Fl_Chart.H:130
void insert(int ind, double val, const char *str=0, unsigned col=0)
Inserts a data value val at the given position ind.
Definition Fl_Chart.cxx:353
int size() const
Returns the number of data values in the chart.
Definition Fl_Chart.H:108
void textfont(Fl_Font s)
Sets the chart's text font to s.
Definition Fl_Chart.H:122
void autosize(uchar n)
Set whether the chart will automatically adjust the bounds of the chart.
Definition Fl_Chart.H:144
void clear()
Removes all values from the chart.
Definition Fl_Chart.cxx:310
void bounds(double *a, double *b) const
Gets the lower and upper bounds of the chart values.
Definition Fl_Chart.H:101
void textsize(Fl_Fontsize s)
gets the chart's text size to s.
Definition Fl_Chart.H:127
Fl_Font textfont() const
Gets the chart's text font.
Definition Fl_Chart.H:120
void replace(int ind, double val, const char *str=0, unsigned col=0)
Replace a data value val at the given position ind.
Definition Fl_Chart.cxx:383
uchar autosize() const
Get whether the chart will automatically adjust the bounds of the chart.
Definition Fl_Chart.H:138
void add(double val, const char *str=0, unsigned col=0)
Add the data value val with optional label str and color col to the chart.
Definition Fl_Chart.cxx:323
Fl_Chart(int X, int Y, int W, int H, const char *L=0)
Create a new Fl_Chart widget using the given position, size and label string.
Definition Fl_Chart.cxx:285
int maxsize() const
Gets the maximum number of data values for a chart.
Definition Fl_Chart.H:115
void textcolor(Fl_Color n)
gets the chart's text color to n.
Definition Fl_Chart.H:132
Fl_Fontsize textsize() const
Gets the chart's text size.
Definition Fl_Chart.H:125
unsigned char uchar
unsigned char
Definition fl_types.h:30
For internal use only.
Definition Fl_Chart.H:44
float val
For internal use only.
Definition Fl_Chart.H:45
char str[FL_CHART_LABEL_MAX+1]
For internal use only.
Definition Fl_Chart.H:47
unsigned col
For internal use only.
Definition Fl_Chart.H:46