Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Scripted Marker Line - How to set Font Size for Caption
Migrateduser
Hi all,
I have a scripted marker line in one of my charts, which is dynamically set at run time.
The marker also has a caption that needs to be set. I am able to setup the caption using getLabel().getCaption.setValue() but unable to control its font. Any suggestions!!
inside beforeGeneration function.....
center_ml = MarkerLineImpl.create(yAxis, NumberDataElementImpl.create(targetCenter));
center_ml.getLabel().getCaption().setValue("Target Center at " + targetCenter);
center_ml.getLineAttributes().getColor().set(76,107,16);
center_ml.getLineAttributes().setStyle(LineStyle.SOLID_LITERAL);
center_ml.getLineAttributes().setThickness(2);
Thanks and Regards
Joseph
Find more posts tagged with
Comments
There are no comments yet