I am plotting a graph using code. As part of that I am writing out the label for each graph line at the max value point.
Me.CurrentY = lngY2
Me.CurrentX = lngX2
Me.FontSize = 8
Me.FontBold = True
Me.Print rst(x).Name
If two lines intersect at their max value the labels would be printed over each other. Can anyone think of a way to detect if a plotted position has already been used.
I know it gets more complicated as 3 or more labels could overlap - but I'll worry about that later.
Me.CurrentY = lngY2
Me.CurrentX = lngX2
Me.FontSize = 8
Me.FontBold = True
Me.Print rst(x).Name
If two lines intersect at their max value the labels would be printed over each other. Can anyone think of a way to detect if a plotted position has already been used.
I know it gets more complicated as 3 or more labels could overlap - but I'll worry about that later.