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
How to remove the frame of chart legend
Migrateduser
<p>I've a special case. For some legends I want only keep texts, not symbols. Attached please find the example.</p>
<p>In the example I only want to keep text "white" not the symbol. So put the color in white (background) in code. </p>
<p> </p>
<div>function beforeDrawLegendItem( lerh, bounds, icsc )</div>
<div>{</div>
<div> <span> </span>var seriesValue = lerh.getLabel().getCaption().getValue();</div>
<div> <span> </span>var fill = lerh.getFill();</div>
<div> if( seriesValue == "white" )</div>
<div> <span> </span>fill.set( 255,255,255 ); </div>
<div>}</div>
<div> </div>
<div>But how to remove the frame?</div>
Find more posts tagged with
Comments
There are no comments yet