This question is locked. New answers and comments are not allowed.
Hi,
I am trying to place a label between two points (and NOT at the point) in a line chart and I am not sure how to go abt it. Kindly guide me. Any help would be greatly appreciated.
Thanks,
Harini
I am trying to place a label between two points (and NOT at the point) in a line chart and I am not sure how to go abt it. Kindly guide me. Any help would be greatly appreciated.
Thanks,
Harini
5 Answers, 1 is accepted
0
Hi harini,
Thanks for asking. Unfortunately, our RadChart does not support such functionality. You can set the label to appear to the right of the point like this:
RadChart1.Series[0].Appearance.LabelAppearance.Position.AlignedPosition = AlignedPositions.Right;
RadChart1.Series[0].Appearance.LabelAppearance.LabelLocation = ItemLabelLocation.Inside;
Still, the line may go up or down and there is no way to force the label to stay on the line.
Regards,
Evtim
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Thanks for asking. Unfortunately, our RadChart does not support such functionality. You can set the label to appear to the right of the point like this:
RadChart1.Series[0].Appearance.LabelAppearance.Position.AlignedPosition = AlignedPositions.Right;
RadChart1.Series[0].Appearance.LabelAppearance.LabelLocation = ItemLabelLocation.Inside;
Still, the line may go up or down and there is no way to force the label to stay on the line.
Regards,
Evtim
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
harini
Top achievements
Rank 1
answered on 06 Oct 2008, 11:12 AM
Thanks Evtim for the immediate reply
So if there no option to place labels between two points in a line graph directly, is there any other work around that u can suggest?
The soln mentioned below does not gaurentee me that the label will lie between two points.
So is there any other work around soln for the same?
Thanks,
Harini
So if there no option to place labels between two points in a line graph directly, is there any other work around that u can suggest?
The soln mentioned below does not gaurentee me that the label will lie between two points.
So is there any other work around soln for the same?
Thanks,
Harini
0
Hi harini,
Unfortunately, this is the only workaround we can suggest - no other solutions and/or workarounds are currently available.
Sorry for not being able to help you at this time.
Regards,
Evtim
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Unfortunately, this is the only workaround we can suggest - no other solutions and/or workarounds are currently available.
Sorry for not being able to help you at this time.
Regards,
Evtim
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
harini
Top achievements
Rank 1
answered on 07 Oct 2008, 09:34 AM
Thanks Evtim.
Ok i will place my labels near the points(either right or left). I tried out the code snippet u suggested. But those do not seem to show any labels near my point.
1.) How do I make these labels visible and see them near the points of the line?
2.) Also if I have to set a value to the label, say 10 or 20 how do I set that?
Thanks,
Harini
Ok i will place my labels near the points(either right or left). I tried out the code snippet u suggested. But those do not seem to show any labels near my point.
1.) How do I make these labels visible and see them near the points of the line?
2.) Also if I have to set a value to the label, say 10 or 20 how do I set that?
Thanks,
Harini
0
Hi Harini,