Should the code below unrender the separator line?<br />
<br />
As you can see in the attached image, it still appears...<br />
<br />
Am I right with my code?<br />
<br />
<em class='bbc'><br />
/**<br />
* Called before drawing the legend item.<br />
* <br />
*
@param lerh LegendEntryRenderingHints<br />
*
@param bounds Bounds<br />
*
@param icsc IChartScriptContext<br />
*
@since Version 2.2.0<br />
*/<br />
function beforeDrawLegendItem (lerh, bounds, icsc){<br />
<br />
var caption = lerh.getLabel().getCaption().getValue();<br />
var result = caption.search(/\s0 h/i);<br />
<br />
if(result != -1){<br />
lerh.getLabel().setVisible(false);<br />
icsc.getChartInstance().getLegend().getSeparator().setVisible(false);<br />
bounds.set(0, 0, 0, 0);<br />
}<br />
}</em><br />
<br />
<br />