summaryrefslogtreecommitdiffstats
path: root/src/web_buffer_svg.h
blob: c09ef7bcad22f6fd9bb29e3402212b7c35ab9193 (plain)
1
2
3
4
5
6
7
#ifndef NETDATA_WEB_BUFFER_SVG_H
#define NETDATA_WEB_BUFFER_SVG_H 1

extern void buffer_svg(BUFFER *wb, const char *label, calculated_number value, const char *units, const char *label_color, const char *value_color, int precision, uint32_t options);
extern char *format_value_and_unit(char *value_string, size_t value_string_len, calculated_number value, const char *units, int precision);

#endif /* NETDATA_WEB_BUFFER_SVG_H */