package cnp.ew.charts;

import cnp.ew.displayer.*;
import cnp.ew.converter.*;
import java.awt.*;
import cnp.ew.kdemo.*;
import cnp.ew.lightweight.*;


public class Cp3DBarChartLc extends CpAbstractAxisBasedChartLc
{


    public Cp3DBarChartLc()
    {
        super();
        setPopupStyle(POPUP_VALUE_AND_PERCENTAGE);
        setBackdropDisplayer(new Cp3DChartBackdropDisplayer());
        setValuesDisplayer(new Cp3DStackedBarValuesDisplayer());
        setValueAxisDisplayer(new CpValueAxisDisplayer());
        setCategoryAxisDisplayer(new CpCategoryAxisDisplayer());
    }

    // TBD: this will depend on the orientation of the values
    public CpAbstractAxisDisplayer getVerticalAxisDisplayer()
    {
        return valueAxisDisplayer;
    }

    // TBD: this will depend on the orientation of the values
    public CpAbstractAxisDisplayer getHorizontalAxisDisplayer()
    {
        return categoryAxisDisplayer;
    }

    public Object getCopy()
    {// FIXXXX!!!
        CpAbstractLc chart = CpDemoExamples.createExampleChart();
        chart.resize(200, 150);
        return chart;
    }
}

