문제

The embedded function of zoomInBoth in Jfreechart too strongly zooming in. Whether it is possible to reduce an zooming level? I make my own JButton zoomIn

static ChartPanel chartPanel;
zoomIn.addActionListener(new ActionListener() {
        @Override
        public void actionPerformed(ActionEvent ae) {
            chartPanel.zoomInBoth(E, E);
    });

Edit of numbers in zoomInBoth changes nothing

도움이 되었습니까?

해결책

Set the zooming factor using setZoomInFactor method on ChartPanel. The parameters in zoomInBoth specify the point where zooming happens.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top