public GraphPane() {
        this.setLayout(new BorderLayout());
        firsPanel.setBorder(new TitledBorder("选项"));
        firsPanel.setLayout(new FlowLayout(FlowLayout.LEFT));
        firsPanel.add(typeBox);
        getcontent();
        chartPanel = new ChartPanel(chart,true);
        secPanel.add(chartPanel);
        this.add(firsPanel, BorderLayout.NORTH);
        this.add(secPanel, BorderLayout.CENTER);
    }