Commit c5b65fcc authored by Giacomo Strangolino's avatar Giacomo Strangolino
Browse files

fixed yLeft axis label order

parent f3e6e023
......@@ -166,7 +166,7 @@ void I0MMTopoBarChart::setNames(const QStringList &names) {
static_cast<NamesAxisDraw *> (axisScaleDraw(QwtPlot::yLeft) )->setNames(names);
setAxisMaxMajor(QwtPlot::yLeft, names.size());
setAxisMaxMinor(QwtPlot::yLeft, 0);
setAxisScale(QwtPlot::yLeft, 0, names.size() - 1);
setAxisScale(QwtPlot::yLeft,names.size() - 1, 0 );
}
void I0MMTopoBarChart::setLabels(const QStringList &ls) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment