Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
537 B
2
Indexable
Never
     public void actionPerformed(ActionEvent e) {
            renderer.setSeriesVisible(i, !renderer.getSeriesVisible(i));

            if (!renderer.getSeriesVisible(i)){
                array_actual_series[i] = -1;
                for (int k = 0; k < MAX; k++){
                    if (array_actual_series[k] == -1){

                        if (signal > k){
                            signal+=1;
                        } else{
                            signal-=1;
                        }

                    }
                }