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
A chart's title label will not resize
Migrateduser
Hello.<br />
<br />
I am trying to change a chart's title text by appending another string. It seems that a label won't resize as I see "..." at the end of the title. <br />
Here is my code:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
function beforeRendering(gcs, icsc) {
var timeCycleOption = icsc.getExternalContext().getScriptable().getParameterValue("TimeCycleOption").value;
var titleStr = icsc.getChartInstance().getTitle().getLabel().getCaption().getValue();
icsc.getChartInstance().getTitle().getLabel().getCaption().setValue(titleStr + " on " + timeCycleOption);
}
</pre>
<br />
Could you please help?<br />
<br />
Thank you in advance.
Find more posts tagged with
Comments
There are no comments yet