Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
590
Custom labels rotation
posted

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