summaryrefslogtreecommitdiff
path: root/src/charts/DataPoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/charts/DataPoint.h')
-rw-r--r--src/charts/DataPoint.h15
1 files changed, 15 insertions, 0 deletions
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