Bug 197269 Cant set a series invisible per default
I have a line chart with several value series. I want to have some invisible as the default, so I set the "OnLoad" event for the series to "Toggle Visbility". But the onLoad event is triggered for every segment of the series so the result, wether the line is visible or not, depends on a odd or even number of datapoints. The same happens with "Toggle Datapoint Visibility"
chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGInteractiveRenderer.java
{
	private Map labelPrimitives = new Hashtable( );
	private List scripts = new Vector( );
	/**
	 * Element that represents the hot spot layer
	 */
	protected Element hotspotLayer;
	private Map componentPrimitives = new Hashtable( );
	private IUpdateNotifier _iun;
	private static ILogger logger = Logger.getLogger( "org.eclipse.birt.chart.device.svg/trace" ); 
	SVGGraphics2D svg_g2d;
	private ULocale locale;
	private List cacheEvents = new ArrayList( );
	
	private int iFirstDataPointIndex = -1;
	public SVGInteractiveRenderer( ULocale locale )
	{
		if ( locale == null )
			this.locale = ULocale.getDefault( );
		else
			this.locale = locale;
	}
	public void setIUpdateNotifier( IUpdateNotifier iun )