- ago
Is it possible - from a strategy's code - to determine the size of the Chart window?

Why would I need this?

I add an additional plot using the fantastic ScottPlot library (https://scottplot.net/).

Now, whenever I change to an other screen size/resolution (or resize the Chart window) I have to adapt my code(!) to make the picture look right.

I'd accept to rerun the backtest after a size change.
4
282
Solved
7 Replies

Reply

Bookmark

Sort
Glitch8
 ( 11.81% )
- ago
#1
No it’s not supported.
0
- ago
#2
:(

Can we turn this one into a #FeatureRequest?

Without such a possibility it is rather pointless to publish a strategy using ScottPlot...
0
- ago
#3
The canned strategy "S&C 2019-09 │ A Simple Way To Trade Seasonality (Kaufman)" won't render pretty for everyone for this very purpose but motivated users are welcome to adjust to their display size and play with ScottPlot parameters.
0
Glitch8
 ( 11.81% )
- ago
#4
Since the chart can be resized I think it makes little sense. The recommended approach is to just use a reasonable size for your default window size whatever that may be.
0
- ago
#5
Ok, I see. Both of you suggest that I add this line in my strategy's description:

QUOTE:
motivated users are welcome to adjust to their display size and play with ScottPlot parameters.

0
Glitch8
 ( 11.81% )
- ago
#6
I went ahead and added the #FeatureRequest.
2
- ago
#7
The new finantic.InteractiveGraphics extension offers all I was dreaming of (and much more) when I was writing this #FeatureRequest.

Can be closed.
1
Best Answer

Reply

Bookmark

Sort