Hello,
I am trying to rotate labels which I added to chart in the FillSceneGraph event
the code is :
Point point = new Point((int)axisX.MapMinimum, (int)axisY.MapMinimum + 8); Text t = new Text(point, "Apr-10", new LabelStyle());
e.SceneGraph.Add(t);
Now I want to rotate this text for example to 45 degree.
I was trying to do something like this but it didn't helped: t.RotationOrigin = new Point(120, 45);
Same question for flipping text.
Thanks
In addition to the RotationOrigin property, the LabelStyle object exposes the Orientation which would be set to TextOrientation.Custom if you wish to set the degree yourself.
This has been discussed on our forums before.
Let me know if you have any questions regarding this matter.
It worked. Thanks!