Bases: guiqwt.plot.CurveDialog, taurus.qt.qtgui.base.taurusbase.TaurusBaseWidget
A taurus widget for showing trends of scalar data. It is an specialization of guiqwt.plot.CurveWidget, for displaying trends and offering the expected Taurus interface (e.g. setting models, save/apply configs, drag&drops,...)
See also
Creates TaurusCurveItems (one for each model in modelNames) and attaches them to the plot.
Note
you can also add curves using add_items(). addModels() is only a more Taurus-oriented interface. add_items() gives you more control.
| Parameters: | modelNames (:class:~`sequence` <:class:~`str`> or :class:~`str`) – the names of the models to be plotted. For convenience, a string is also accepted (instead of a sequence of strings), in which case the string will be internally converted to a sequence by splitting it on whitespace and commas. |
|---|
See also
add_item()
reimplemented from TaurusBaseWidget
returns the maximum number of events that can be plotted in the trend
| Return type: | :class:~`int` |
|---|---|
| Returns: |
reimplemented from TaurusBaseWidget
reimplemented from TaurusBaseWidget
reimplemented from TaurusBaseWidget
whether TaurusTrend is looking for data in the archiver when needed
| Return type: | :class:~`bool` |
|---|---|
| Returns: |
See also
returns the maximum number of events that can be plotted in the trend
| Return type: | :class:~`int` |
|---|---|
| Returns: |
reimplemented from TaurusBaseWidget
whether the user can change the contents of the widget
| Return type: | :class:~`bool` |
|---|---|
| Returns: | True if the user is allowed to modify the look&feel |
Same as setMaxDataBufferSize(16384)
Same as setUseArchiving(False)
sets the maximum number of events that will be stacked
| Parameters: | maxSize (:class:~`int`) – the maximum limit |
|---|
See also
TaurusTrendSet
Removes current TaurusCurveItems and adds new ones.
| Parameters: | modelNames (:class:~`sequence` <:class:~`str`> or :class:~`str`) – the names of the models to be plotted. For convenience, a string is also accepted (instead of a sequence of strings), in which case the string will be internally converted to a sequence by splitting it on whitespace and commas. |
|---|
See also
reimplemented from TaurusBaseWidget
set the type of stack to be used. This determines how X values are interpreted:
- as timestamps (‘datetime’)
- as time deltas (‘timedelta’)
- as event numbers (‘event’)
| Parameters: | mode (:class:~`one of ‘datetime’, ‘timedelta’` or :class:~`’event’`) – |
|---|
enables/disables looking up in the archiver for data stored before the Trend was started
| Parameters: | enable (:class:~`bool`) – if True, archiving values will be used if available |
|---|
whether TaurusTrend is looking for data in the archiver when needed
| Return type: | :class:~`bool` |
|---|---|
| Returns: |
See also