Mercurial > hg > tony
comparison src/Analyser.cpp @ 44:66ba56e708c0
curves instead of points?
author | matthiasm |
---|---|
date | Wed, 19 Jun 2013 23:21:04 +0100 |
parents | 140f1fdc7edd |
children | f4ee3c11eba9 |
comparison
equal
deleted
inserted
replaced
43:dce769cf4495 | 44:66ba56e708c0 |
---|---|
68 layer = addLayerFor(f0); | 68 layer = addLayerFor(f0); |
69 | 69 |
70 if (layer) { | 70 if (layer) { |
71 TimeValueLayer *tvl = qobject_cast<TimeValueLayer *>(layer); | 71 TimeValueLayer *tvl = qobject_cast<TimeValueLayer *>(layer); |
72 if (tvl) { | 72 if (tvl) { |
73 tvl->setPlotStyle(TimeValueLayer::PlotPoints); | 73 tvl->setPlotStyle(TimeValueLayer::PlotDiscreteCurves); |
74 // tvl->setPlotStyle(TimeValueLayer::PlotPoints); | |
74 tvl->setBaseColour(ColourDatabase::getInstance()-> | 75 tvl->setBaseColour(ColourDatabase::getInstance()-> |
75 getColourIndex(QString("Black"))); | 76 getColourIndex(QString("Black"))); |
76 tvl->setVerticalScale(TimeValueLayer::LogScale); | 77 tvl->setVerticalScale(TimeValueLayer::LogScale); |
77 tvl->setDisplayExtents(27.5f,880.f); // temporary values: better get the real extents of the data form the model | 78 tvl->setDisplayExtents(27.5f,880.f); // temporary values: better get the real extents of the data form the model |
78 } | 79 } |