I don't see how this can be accomplished solely by controlling the data.
I think that it would require at least some hacking with the AxisItem
class... and I myself would not know how...
In any case, certainly linking the flattening workaround might be the
easiest.
On 8/18/20 2:45 AM, Dennis Jensen wrote:
Yes you have full control of the data you supply to a graph of course
the settings to do that might be rather tricky --- as such it might
just be easiest to flat line it during those periods rather than try
to exclude them
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free. www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
On Mon, Aug 17, 2020 at 6:50 PM mks <[email protected]
<mailto:[email protected]>> wrote:
Hello,
I've been wondering if it is possible to exclude subranges of
datetimes, where there is no data? For example, when plotting
financial data, markets are closed on weekends, so a continuous
datetime axis will have gaps on Sundays and Saturdays (among other
periods when there is no trading):
Screenshot_20200818_014602.png
Is it possible to exclude these gaps?
Thanks,
mks
--
You received this message because you are subscribed to the Google
Groups "pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyqtgraph/e32a4a25-22c1-44e8-af2f-992abab6acban%40googlegroups.com
<https://groups.google.com/d/msgid/pyqtgraph/e32a4a25-22c1-44e8-af2f-992abab6acban%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google
Groups "pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyqtgraph/CAJnEJx0mwN41n4nLXC9xpeP5dW_7fbmNtna0XKWxfNx8qE1ShA%40mail.gmail.com
<https://groups.google.com/d/msgid/pyqtgraph/CAJnEJx0mwN41n4nLXC9xpeP5dW_7fbmNtna0XKWxfNx8qE1ShA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
+----------------------------------------------------+
Carlos Pascual Izarra
Scientific Software Coordinator
Computing Division
ALBA Synchrotron [http://www.albasynchrotron.es]
Carrer de la Llum 2-26
E-08290 Cerdanyola del Valles (Barcelona), Spain
E-mail: [email protected]
Phone: +34 93 592 4428
+----------------------------------------------------+
--
You received this message because you are subscribed to the Google Groups
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyqtgraph/547e9ec7-d75b-35e7-d9ec-776cd2ae9409%40cells.es.