piker/piker
Tyler Goodlet a9963ef4ee Simplify L1 labels for multicharts
Instead of having the l1 lines be inside the view space, move them to be
inside their respective axis (with only a 16 unit portion inside the
view) such that the clear price label can overlay with them nicely
without obscuring; this is much better suited to multiple adjacent
y-axes and in general is simpler and less noisy.

Further `L1Labels` + `LevelLabel` style tweaks:
- adjust `.rect` positioning to be "right" (i.e. inside the parent
  y-axis) with a slight 16 unit shift toward the viewbox (using the new
  `._x_br_offset`) to allow seeing each level label's line even when the
  clearing price label is positioned at that same level.
- add a newline's worth of vertical space to each of the bid/ask labels
  so that L1 labels' text content isn't ever obscured by the clear price
  label.
- set a low (10) z-value to ensure l1 labels are always placed
  underneath the clear price label.
- always fill the label rect with the chosen background color.
- make labels fully opaque so as to always make them hide the parent
  axes' `.tickStrings()` contents.
- make default color the "default" from the global scheme.
- drop the "price" part from the l1 label text contents, just show the
  book-queue's amount (in dst asset's units, aka the potential clearing vlm).
2023-01-30 11:49:06 -05:00
..
brokers `kraken`: catch value error not index on missing `src_fiat` in pair 2023-01-23 15:36:20 -05:00
clearing Fix clearing endpoint type annots, export `open_ems()` 2023-01-24 15:15:27 -05:00
cli Match `services` subcmd to new reg addr module variables 2023-01-13 13:21:49 -05:00
data Add commented append slice-len sanity check 2023-01-30 11:49:06 -05:00
fsp Copy timestamps from source to FSP dest buffer 2023-01-30 11:48:51 -05:00
testing Import client for now until we make a proper shim 2018-02-12 10:35:54 -05:00
ui Simplify L1 labels for multicharts 2023-01-30 11:49:06 -05:00
watchlists Add license headers to pertinent files 2020-11-06 12:23:14 -05:00
__init__.py Expose `.open_feed()` and `open_piker_runtime()` eps at top level 2022-11-10 13:06:31 -05:00
_cacheables.py Port to new `tractor.trionics.maybe_open_context()` api 2022-01-23 21:01:38 -05:00
_daemon.py Yield services (manager) from `maybe_open_pikerd()` 2023-01-24 15:15:27 -05:00
_profile.py Fork our latency tune-able profiler from `pyqtgraph.debug` 2022-10-30 21:11:27 -04:00
calc.py Lul, adhere to returning `str`s in `humanize()` 2022-01-25 07:57:01 -05:00
config.py Always touch config file dir if dne 2023-01-10 11:09:19 -05:00
log.py Type annot name in put to log routine 2022-06-05 22:13:36 -04:00
pp.py Handle `Position.split_ratio` in state audits 2022-08-17 10:06:58 -04:00
trionics.py Start trionics mod with an `async_enter_all` 2022-01-23 19:41:57 -05:00