##// END OF EJS Templates
Preset range on LogAxis fix
Marek Rosa -
r2373:8d156e433738
parent child
Show More
@@ -186,7 +186,9 bool ChartDataSet::attachAxis(QAbstractSeries* series,QAbstractAxis *axis)
186 186 if(type == AbstractDomain::UndefinedDomain) return false;
187 187
188 188 if(domain->type()!=type){
189 AbstractDomain *old = domain;
189 190 domain = createDomain(type);
191 domain->setRange(old->minX(), old->maxX(), old->minY(), old->maxY());
190 192 }
191 193
192 194 if(!domain) return false;
General Comments 0
You need to be logged in to leave comments. Login now