korhan
Board Regular
- Joined
- Nov 6, 2009
- Messages
- 215
Hello everyone,
I am trying to insert text boxes onto my chart based on the bar chart coordinates. I am not sure if this is doable. I am trying to loop through the series and select and based on that selection I need to find upper left and right corner coordinates of that bar chart so that I can place the text box between those coordinates vertically not horizontally of course. Also, I cannot think of a method on how to scale this text box based on those coordinates. Is this possible with VBA? I tried to draw this below. Imagine that it is a chart and I am trying to find the coordinates of those 2 red lines and I need to loop through all the bar charts to get these coordinates.
Thanks for reading.
I am trying to insert text boxes onto my chart based on the bar chart coordinates. I am not sure if this is doable. I am trying to loop through the series and select and based on that selection I need to find upper left and right corner coordinates of that bar chart so that I can place the text box between those coordinates vertically not horizontally of course. Also, I cannot think of a method on how to scale this text box based on those coordinates. Is this possible with VBA? I tried to draw this below. Imagine that it is a chart and I am trying to find the coordinates of those 2 red lines and I need to loop through all the bar charts to get these coordinates.
Thanks for reading.
Code:
|
| _
| | [COLOR=#ff0000]| [/COLOR]_
| | | | |
| | | | |
|_ | [COLOR=#ff0000]| [/COLOR]_ _ | | _ _
Last edited: