@@ -126,6 +126,7 struct AxisSetter<T, typename std::enable_if_t<std::is_base_of<SpectrogramSeries | |||
|
126 | 126 | |
|
127 | 127 | // Set color scale properties |
|
128 | 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 | 34 | SqpColorScale::SqpColorScale(QCustomPlot &plot) |
|
35 | 35 | : m_Scale{new QCPColorScale{&plot}}, |
|
36 |
m_AutomaticThreshold{ |
|
|
36 | m_AutomaticThreshold{false}, | |
|
37 | 37 | m_GradientPreset{DEFAULT_GRADIENT_PRESET} |
|
38 | 38 | { |
|
39 | 39 | m_Scale->setGradient(m_GradientPreset); |
General Comments 0
You need to be logged in to leave comments.
Login now