Lines Matching defs:chart
34 int chart_init(struct chart *chart, const char *name, int num_samples) in chart_init()
49 void chart_set_mode(struct chart *chart, enum chart_mode mode) in chart_set_mode()
54 void chart_set_smooth(struct chart *chart, enum chart_smooth smooth) in chart_set_smooth()
59 void chart_set_stroke_width(struct chart *chart, float width) in chart_set_stroke_width()
64 void chart_set_stroke_rgba(struct chart *chart, float red, float green, float blue, float alpha) in chart_set_stroke_rgba()
72 void chart_set_fill_rgba(struct chart *chart, float red, float green, float blue, float alpha) in chart_set_fill_rgba()
80 void chart_set_position(struct chart *chart, int x, int y) in chart_set_position()
86 void chart_set_size(struct chart *chart, int w, int h) in chart_set_size()
92 void chart_set_range(struct chart *chart, double min, double max) in chart_set_range()
99 void chart_get_range(struct chart *chart, double *range) in chart_get_range()
112 void chart_add_sample(struct chart *chart, double value) in chart_add_sample()
123 static void chart_update_range(struct chart *chart) in chart_update_range()
139 static double value_at(struct chart *chart, int n) in value_at()
153 static double gradient_at(struct chart *chart, int n) in gradient_at()
163 void chart_draw(struct chart *chart, cairo_t *cr) in chart_draw()
237 void chart_fini(struct chart *chart) in chart_fini()