Menu

#132 Trends: Add warning for archiving not allowed on X autoscale

unassigned
waiting
nobody
None
feature-request
2015-03-30
2014-12-17
Sergi Rubio
No

Hi,

During a coding dojo Gabriel Jover noted that archiving will not work in taurus trend if autoscale in X axxis is set, It does not happen in normal trend as fixed-range trends do not really use autoscale but it may be an issue in subclasses of the trend.

Could a warning message be added to _updateHistory() method whenever the archiving is being ignored? An option could be to show a warning when the UseArchiving checkbox is set and this condition is False:

assert self.parent().getXDynScale() or not self.parent().axisAutoScale(Qwt5.QwtPlot.xBottom)

Thanks,

Sergi Rubio

Discussion

  • Carlos Pascual

    Carlos Pascual - 2015-02-03
    • Milestone: Jan15 --> unassigned
     
  • Tiago Coutinho

    Tiago Coutinho - 2015-03-30

    Ticket moved from /p/sardana/tickets/299/

    Can't be converted:

    • _category: taurus-qt
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.