I would like to programmicly add a line or a dot to an exising Excel Chart.
I would like to add a Line or dot above or below a datapoint.
I can use Shapes.addline(x1,y1,x2,y2) but how do I convert the data's y-values and x-values into the chart's coordinates which I think uses "points" not twips?
How do I convert the data to match Excel's coordinate system?
The containers that I found accessible:
Screen Resolution
Application.Height, etc.
Application.UseableHeight, etc.
ActiveWindow.Height, etc.
ActiveWindow.Height, etc.
ChartArea.Height, etc.
PlotArea.Height, etc.
PlotArea.UseableHeight, etc.
are subject to change with regards to Paper Size, Orientation, Margins, Zoom, WindowState, and PrintedChartSize
I noticed that the Macro Recorder converts the Mouse X,Y coordinates. How do I access this coordinate system?
How do I add a shape at a precise position?
Jim
I would like to add a Line or dot above or below a datapoint.
I can use Shapes.addline(x1,y1,x2,y2) but how do I convert the data's y-values and x-values into the chart's coordinates which I think uses "points" not twips?
How do I convert the data to match Excel's coordinate system?
The containers that I found accessible:
Screen Resolution
Application.Height, etc.
Application.UseableHeight, etc.
ActiveWindow.Height, etc.
ActiveWindow.Height, etc.
ChartArea.Height, etc.
PlotArea.Height, etc.
PlotArea.UseableHeight, etc.
are subject to change with regards to Paper Size, Orientation, Margins, Zoom, WindowState, and PrintedChartSize
I noticed that the Macro Recorder converts the Mouse X,Y coordinates. How do I access this coordinate system?
How do I add a shape at a precise position?
Jim