Package info.monitorenter.gui.chart.traces.painters

Examples of info.monitorenter.gui.chart.traces.painters.TracePainterDisc


        traceMax.setColor(Color.red);
       
        // Add the trace to the chart. This has to be done before adding points (deadlock prevention):
        if (chkValorMinimo.isSelected()){
            chart.addTrace(traceMin);
            traceMin.addTracePainter(new TracePainterDisc());
        }
        if (chkValorMedio.isSelected()){
            chart.addTrace(traceAvg);
            traceAvg.addTracePainter(new TracePainterDisc());
        }
        if (chkValorMax.isSelected()){
            chart.addTrace(traceMax);
            traceMax.addTracePainter(new TracePainterDisc());
        }
           
        // Add all points, as it is static:
        Object[] values = listSessoes.getSelectedValues();
        String medida = "";
View Full Code Here


        this.chart2D1.removeAllTraces();
        //this.chart2D2.removeAllTraces();
        if (act) {
            chart2D1.addTrace(traceA);
            traceA.setColor(Color.CYAN);
            traceA.setTracePainter(new TracePainterDisc(4));
        }
        if (learn) {
            chart2D1.addTrace(traceL);
            traceL.setColor(Color.MAGENTA);
            traceL.setTracePainter(new TracePainterDisc(4));
        }
        if (predict) {
            chart2D1.addTrace(traceP);
            traceP.setColor(Color.BLUE);
            traceP.setTracePainter(new TracePainterDisc(4));
        }
        if (showDistalSegmentsCount) {
            chart2D1.addTrace(traceD);
            traceD.setTracePainter(new TracePainterDisc(4));
        }
        if (drawTimeline)
            chart2D2.addTrace(traceTMLN);
        if (perm) {
            chart2D1.addTrace(traceS);
            traceS.setColor(Color.BLUE);
            traceS.setTracePainter(new TracePainterDisc(4));
        }
        if (over) {
            chart2D1.addTrace(traceO);
            traceO.setColor(Color.RED);
            traceO.setTracePainter(new TracePainterDisc(4));
        }
        if (adc) {
            chart2D1.addTrace(traceADC);
            traceADC.setColor(Color.GREEN);
            traceADC.setTracePainter(new TracePainterDisc(4));
        }
        if (mdc) {
            chart2D1.addTrace(traceMDC);
            traceMDC.setColor(Color.GRAY);
            traceMDC.setTracePainter(new TracePainterDisc(4));
        }
        if (odc) {
            chart2D1.addTrace(traceODC);
            traceODC.setColor(Color.ORANGE);
            traceODC.setTracePainter(new TracePainterDisc(4));
        }
        if (bst) {
            chart2D1.addTrace(traceBST);
            traceBST.setColor(Color.DARK_GRAY);
            traceBST.setTracePainter(new TracePainterDisc(4));
        }
        if (inp) {
            chart2D1.addTrace(traceINP);
            traceINP.setColor(Color.RED);
            traceINP.setTracePainter(new TracePainterDisc(4));
        }
    }
View Full Code Here

TOP

Related Classes of info.monitorenter.gui.chart.traces.painters.TracePainterDisc

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.