- ago
It's useful to quickly review a trade's details in the box that pops up on mouseover of the trade arrows in a strategy's chart window. However, if there happens to be other stuff (text, plots) in the chart at the box's location it shows through making the details hard to read, as shown in this image:


The fix is trivial - set the box background's Opacity to 100% / Transparency to 0% - so hope it gets done soon.
TIA.
0
128
4 Replies

Reply

Bookmark

Sort
Glitch8
 ( 8.11% )
- ago
#1
I can understand the annoyance, and if the fix was very simply I'd get it in ASAP. However, things are complicated because the popup is an "immediate mode" graphics element rendered to the chart canvas. The Date/OHLCV line is a WPF element, with a translucent background carefully made that way so a vestige of the chart can still appear under it without obscuring the text. But the trade popups aren't behaving nicely with it. In the short term we'll have to live with it but I'll keep it brewing in my mind and hopefully come up with a clever solution.
0
- ago
#2
2 quick thoughts passed through my mind (I admit I didn't fully think them through):
- You can use TeeChart, its bound to have popup windows as they're so common
- Perhaps assigning/creating a Z-index for the topmost layer may help
0
Glitch8
 ( 8.11% )
- ago
#3
Using TeeChart is completely out of the question. WL's charting is hand crafted and replacing it with TeeChart would be basically creating a new (inferior) product from scratch, an effort of at least a year and I don't believe the end result would be better than what we have (but admittedly it might solve this one popup issue, maybe?) Anyway, it's much too drastic to consider.

We already have Z-index concepts in the chart, but the D/OHLCV text lays above the chart as a separate WPF component, so it cannot play into the Z-Index of the chart. I could replace the WPF component with a line of text rendered in immediate mode in the chart, but that's a non-trivial effort for something that's more of a minor annoyance. There are bigger priorities.

The quickest solution would be to expose the transparency of the OHLC/V labels as a chart theme property. If you made it non-transparent then it would simply lie above the trade popup completely instead of having their renderings mixed like they are.
0
- ago
#4
I better understand the situation now. Hopefully you'll come up with a good solution.
-------------------------------------------------------------

Off-topic comments:
1. To OHLCV please add price change in points also. WLab7/8 is the only product that displays price change in % only; every charting software (including previous versions of WLab), broker app and financial website shows the change in both points *and* percent, it's the de-facto standard.
2. If it's not too much of a hassle, please extend the Z-index concepts to non-Price panes also so one can assign specific plots to background, if needed e.g. as a 'bool PlotInBackground' property. This would be especially useful for 'DrawHorzLine' which always gets plotted on top of indicators, obscuring their value esp. in the Y-axis pane. In all prev versions of WLab it was automatically placed in the background.
0

Reply

Bookmark

Sort