((StockSeries) series).setFill((Fill) event.data);
series.setFill((Fill) event.data);
    public void handleEvent(Event event)    {        if (event.widget.equals(fccCandle))        {            ((StockSeries) series).setFill((Fill) event.data);        }        else if (event.widget.equals(liacStock))        {            if (event.type == LineAttributesComposite.VISIBILITY_CHANGED_EVENT)            {                series.getLineAttributes().setVisible(((Boolean) event.data).booleanValue());            }            else if (event.type == LineAttributesComposite.STYLE_CHANGED_EVENT)            {                series.getLineAttributes().setStyle((LineStyle) event.data);            }            else if (event.type == LineAttributesComposite.WIDTH_CHANGED_EVENT)            {                series.getLineAttributes().setThickness(((Integer) event.data).intValue());            }            else if (event.type == LineAttributesComposite.COLOR_CHANGED_EVENT)            {                series.getLineAttributes().setColor((ColorDefinition) event.data);            }        }    }