Hello,
We have Java V1.830 and are drawing a Map chart which requires a custom y-axis label or two. In our VCL equivalent of this chart we use something similar to the following to draw the extra labels :-
graph_->Canvas->RotateLabel(graph_->Canvas->Font->Size, graph_->LeftAxis->CalcYPosValue(weekDays_.y) + graph_->Canvas->Font->Size, weekDays_.label, 90);
Is there any way with the Java version to write a rotated label ?
Regards,
Brett
rotated label or annotation
Re: rotated label or annotation
Hi,
I toiled away and worked out how to do this, seems I needed to find the IGraphics3D rotateLabel function and combine that with the chart PaintListener callback function.
Thanks,
Brett.
I toiled away and worked out how to do this, seems I needed to find the IGraphics3D rotateLabel function and combine that with the chart PaintListener callback function.
Thanks,
Brett.
Re: rotated label or annotation
Hi Brett,
I'm glad to see you've found how to achieve it. Thanks for sharing your solution.
I'm glad to see you've found how to achieve it. Thanks for sharing your solution.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |