##// END OF EJS Templates
Minor fix...
Alexandre Leroux -
r1143:0e96e473601d
parent child
Show More
@@ -126,6 +126,7 struct AxisSetter<T, typename std::enable_if_t<std::is_base_of<SpectrogramSeries
126
126
127 // Set color scale properties
127 // Set color scale properties
128 setAxisProperties(*colorScale.m_Scale->axis(), valuesUnit, QCPAxis::stLogarithmic);
128 setAxisProperties(*colorScale.m_Scale->axis(), valuesUnit, QCPAxis::stLogarithmic);
129 colorScale.m_AutomaticThreshold = true;
129 }
130 }
130 };
131 };
131
132
@@ -33,7 +33,7 std::pair<double, double> SqpColorScale::computeThresholds(const SqpColorScale &
33
33
34 SqpColorScale::SqpColorScale(QCustomPlot &plot)
34 SqpColorScale::SqpColorScale(QCustomPlot &plot)
35 : m_Scale{new QCPColorScale{&plot}},
35 : m_Scale{new QCPColorScale{&plot}},
36 m_AutomaticThreshold{true},
36 m_AutomaticThreshold{false},
37 m_GradientPreset{DEFAULT_GRADIENT_PRESET}
37 m_GradientPreset{DEFAULT_GRADIENT_PRESET}
38 {
38 {
39 m_Scale->setGradient(m_GradientPreset);
39 m_Scale->setGradient(m_GradientPreset);
General Comments 0
You need to be logged in to leave comments. Login now