Margin at Chart Top
Author: mjdaumer
Creation Date: 3/6/2013 9:34 AM
profile picture

mjdaumer

#1
Is there a way to leave space at the top of the chart so that plots are not hidden behind symbol names?

Thank you!
profile picture

Eugene

#2
For example, you could set a smaller font size for the company name.
profile picture

Cone

#3
The only real way is to use the SetPaneMinMax method. Here's a little block of code that adds 10% of the highest value in view to the top of the pane. This is especially useful when using semilog charts, which often need more headroom.

CODE:
Please log in to see this code.
profile picture

mjdaumer

#4
Cone,

That did the trick.

Thank you.
profile picture

streak

#5
Cone,

Is there a way to have the chart re SetPaneMinMax() after scrolling?

Also, could this be extended into a tool forcing a 'zoom' on a chart region after say, clicking on 2 chart points (collecting 'x' & 'y' points), or dragging diagonally from 'x' to 'y' ?

Thanks
profile picture

Cone

#6
No on both counts. The only way to zoom (sort of) it to use the bar spacing buttons or mouse wheel. An x to y drag zoom could not possibly work with Wealth-Lab charting. I could envision highlighting an x1 to x2 area for a zoom, but I doubt that the bang for the buck is there.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).