mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-07 15:33:51 +00:00
Improve automatic graph configuraion when traces change domains
This commit is contained in:
parent
7dd2c0501e
commit
d99dab35aa
5 changed files with 41 additions and 16 deletions
|
|
@ -317,6 +317,11 @@ YAxis::Type YAxis::getType() const
|
|||
return type;
|
||||
}
|
||||
|
||||
bool YAxis::isSupported(XAxis::Type type, TraceModel::DataSource source)
|
||||
{
|
||||
return getSupported(type, source).count(this->type);
|
||||
}
|
||||
|
||||
std::set<YAxis::Type> YAxis::getSupported(XAxis::Type type, TraceModel::DataSource source)
|
||||
{
|
||||
std::set<YAxis::Type> ret = {YAxis::Type::Disabled};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue