class Fl_Chart : public Fl_Widget

This widget is provided for forms compatibility.

// values for type():
#define FL_BAR_CHART		0
#define FL_HORBAR_CHART		1
#define FL_LINE_CHART		2
#define FL_FILLED_CHART		3
#define FL_SPIKE_CHART		4
#define FL_PIE_CHART		5
#define FL_SPECIALPIE_CHART	6

    Fl_Chart(int,int,int,int,const char *);
    void clear();
    void add(float, const char * =0, ulong=0);
    void insert(int, float, const char * =0, ulong=0);
    void replace(int, float, const char * =0, ulong=0);
    void bounds(float *a,float *b) const {*a = min; *b = max;}
    void bounds(float a,float b);
    int size() const {return numb;}
    int maxsize() const {return maxnumb;}
    void maxsize(int);
    Fl_Font textfont() const {return textfont_;}
    void textfont(Fl_Font s) {textfont_ = s;}
    uchar textsize() const {return textsize_;}
    void textsize(uchar s) {textsize_ = s;}
    Fl_Color textcolor() const {return textcolor_;}
    void textcolor(Fl_Color n) {textcolor_ = n;}
    uchar autosize() const {return autosize_;}
    void autosize(uchar n) {autosize_ = n;}