Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
beforeDrawLegendItem function in Chart
vijayshankar245
<p>Hi All,</p>
<p> </p>
<p> I am new new to Actuate i want to write a script under <strong><span style="color:#ff0000;">beforeDrawLegendItem</span></strong> function please let me know where we able to find this function in chart . I didnt find the function in cline script</p>
<p> </p>
<p>i am using Brit <span style="font-size:14px;">Version: 4.4.0 Kinldy help us.</span></p>
<p><span style="font-size:14px;">Thank in advance.</span></p>
<p> </p>
Find more posts tagged with
Comments
pricher
<p>Hi,</p>
<p> </p>
<p>In the commercial release of BIRT, which you seem to be using, the default chart format is HTML5 and the charts are generated using the Highcharts library. In Open Source BIRT, charts are generated using a different API. For that reason, scripting is done differently. In Open Source BIRT, scripting is done using the onRender method of the chart and you have access to different function stubs, including beforeDrawLegendItem, to interact with the chart engine API. In commercial BIRT, scripting is done in the scripting tab of the chart wizard (as shown in your screenshot) and you interact with the Highcharts API. This API is documented at api.highcharts.com. </p>
<p> </p>
<p>if you need help modifying the legend using the Highcharts API, you can search this forum or post a more detailed question.</p>
<p> </p>
<p>Hope this helps,</p>
<p> </p>
<p>P.</p>
vijayshankar245
<p>Thanks a lot Pierre.</p>