diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2015-05-21 17:52:26 -0300 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2015-05-21 18:09:16 -0300 |
commit | 4d83c6a167e88951ea83c98b6edb32db9ebe376e (patch) | |
tree | 204a6de870e7b61959f220c2332f88bda6400997 | |
parent | b0b0c281302f2efb2cad62cc199b63a35c81623e (diff) |
Updated color scale with better distinguishable colors.
-rw-r--r-- | scatterplot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scatterplot.cpp b/scatterplot.cpp index f5d0dbf..b0c8034 100644 --- a/scatterplot.cpp +++ b/scatterplot.cpp @@ -17,7 +17,6 @@ static const float PI = 3.1415f; Scatterplot::Scatterplot(QQuickItem *parent) : QQuickItem(parent) - , m_dragOriginPos(-1.0, -1.0) , m_colorScale{ QColor("#1f77b4"), QColor("#ff7f0e"), @@ -27,7 +26,7 @@ Scatterplot::Scatterplot(QQuickItem *parent) QColor("#8c564b"), QColor("#e377c2"), QColor("#7f7f7f"), - QColor("#bcbd22"), + QColor("#17becf"), } { setClip(true); @@ -218,6 +217,7 @@ void Scatterplot::mouseMoveEvent(QMouseEvent *event) case INTERACTION_MOVING: m_dragCurrentPos = event->localPos(); update(); + break; } } |