C
C
What worked in VB6 does not work with VB.net This looks like a simple
problem but labels behave in a different way in VB.net, so I am not
making much progress with this little problem.
I would like to place labels under the x-axis (500 pixels wide) with
numbers and the variable name on the same level. For example, if the x-
axis was time in minutes from 0 to 34.4, I would like to place 0 left
justified at the left extreme, 17.2 in the middle centred, and then
34.4 on the right, right justified. I can place three labels (fixed
size or autosizable) with the alignments and it works all right.
Then I would like to place "time, min" centred between the texts 0 and
17.2, or centred around one-fourth the width of the x-axis (125 pixels
from the beginning of the axis). Placing a label there with centred
alignment will sometimes overlap on the numbers, and make parts of
either labels covered.
What is a good way to put these four labels? Should the labels be
autosizable or fixed size? Thanks for any advice.
problem but labels behave in a different way in VB.net, so I am not
making much progress with this little problem.
I would like to place labels under the x-axis (500 pixels wide) with
numbers and the variable name on the same level. For example, if the x-
axis was time in minutes from 0 to 34.4, I would like to place 0 left
justified at the left extreme, 17.2 in the middle centred, and then
34.4 on the right, right justified. I can place three labels (fixed
size or autosizable) with the alignments and it works all right.
Then I would like to place "time, min" centred between the texts 0 and
17.2, or centred around one-fourth the width of the x-axis (125 pixels
from the beginning of the axis). Placing a label there with centred
alignment will sometimes overlap on the numbers, and make parts of
either labels covered.
What is a good way to put these four labels? Should the labels be
autosizable or fixed size? Thanks for any advice.