From d24f813f3f2a05c112e803e4256b53535895fc98 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Wed, 14 Jul 2021 11:49:10 +1200 Subject: Initial mirror commit --- src/charts/DataPoint.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/charts/DataPoint.h (limited to 'src/charts/DataPoint.h') diff --git a/src/charts/DataPoint.h b/src/charts/DataPoint.h new file mode 100644 index 0000000..394d1be --- /dev/null +++ b/src/charts/DataPoint.h @@ -0,0 +1,15 @@ +#ifndef DATAPOINT_H +#define DATAPOINT_H + +struct DataPoint +{ +public: + DataPoint(const QString& label, int value, QString toolTipLabel = ""): + label(label), value(value), toolTipLabel(toolTipLabel) {} + + QString label; + int value; + QString toolTipLabel; +}; + +#endif -- cgit