Example usage for org.jfree.data XYSeriesCollection XYSeriesCollection

List of usage examples for org.jfree.data XYSeriesCollection XYSeriesCollection

Introduction

In this page you can find the example usage for org.jfree.data XYSeriesCollection XYSeriesCollection.

Prototype

public XYSeriesCollection() 

Source Link

Document

Constructs an empty dataset.

Usage

From source file:simMPLS.scenario.TReceiverStats.java

/**
 * Este mtodo crea una nueva instancia de TEstadisticasReceptor.
 * @since 1.0//from ww w  .j  a  va  2 s  .co  m
 */
public TReceiverStats() {
    paquetesEntrantes = new XYSeriesCollection();
    entrantesIPv4 = new XYSeries(TStats.IPV4);
    entrantesIPv4_GOS1 = new XYSeries(TStats.IPV4_GOS1);
    entrantesIPv4_GOS2 = new XYSeries(TStats.IPV4_GOS2);
    entrantesIPv4_GOS3 = new XYSeries(TStats.IPV4_GOS3);
    entrantesMPLS = new XYSeries(TStats.MPLS);
    entrantesMPLS_GOS1 = new XYSeries(TStats.MPLS_GOS1);
    entrantesMPLS_GOS2 = new XYSeries(TStats.MPLS_GOS2);
    entrantesMPLS_GOS3 = new XYSeries(TStats.MPLS_GOS3);
    entrantesGPSRP = new XYSeries(TStats.GPSRP);
    tEIPV4 = 0;
    tEIPV4_GOS1 = 0;
    tEIPV4_GOS2 = 0;
    tEIPV4_GOS3 = 0;
    tEMPLS = 0;
    tEMPLS_GOS1 = 0;
    tEMPLS_GOS2 = 0;
    tEMPLS_GOS3 = 0;
    tEGPSRP = 0;
}

From source file:simMPLS.scenario.TSenderStats.java

/**
 * Creates a new instance of TEstadisticasEmisor
 * @since 1.0//from   w w  w . j av  a2s  .  c o m
 */
public TSenderStats() {
    paquetesSalientes = new XYSeriesCollection();
    paquetesDescartados = new XYSeriesCollection();
    salientesIPv4 = new XYSeries(TStats.IPV4);
    salientesIPv4_GOS1 = new XYSeries(TStats.IPV4_GOS1);
    salientesIPv4_GOS2 = new XYSeries(TStats.IPV4_GOS2);
    salientesIPv4_GOS3 = new XYSeries(TStats.IPV4_GOS3);
    salientesMPLS = new XYSeries(TStats.MPLS);
    salientesMPLS_GOS1 = new XYSeries(TStats.MPLS_GOS1);
    salientesMPLS_GOS2 = new XYSeries(TStats.MPLS_GOS2);
    salientesMPLS_GOS3 = new XYSeries(TStats.MPLS_GOS3);
    descartadosIPv4 = new XYSeries(TStats.IPV4);
    descartadosIPv4_GOS1 = new XYSeries(TStats.IPV4_GOS1);
    descartadosIPv4_GOS2 = new XYSeries(TStats.IPV4_GOS2);
    descartadosIPv4_GOS3 = new XYSeries(TStats.IPV4_GOS3);
    descartadosMPLS = new XYSeries(TStats.MPLS);
    descartadosMPLS_GOS1 = new XYSeries(TStats.MPLS_GOS1);
    descartadosMPLS_GOS2 = new XYSeries(TStats.MPLS_GOS2);
    descartadosMPLS_GOS3 = new XYSeries(TStats.MPLS_GOS3);
    tSIPV4 = 0;
    tSIPV4_GOS1 = 0;
    tSIPV4_GOS2 = 0;
    tSIPV4_GOS3 = 0;
    tSMPLS = 0;
    tSMPLS_GOS1 = 0;
    tSMPLS_GOS2 = 0;
    tSMPLS_GOS3 = 0;
    tDIPV4 = 0;
    tDIPV4_GOS1 = 0;
    tDIPV4_GOS2 = 0;
    tDIPV4_GOS3 = 0;
    tDMPLS = 0;
    tDMPLS_GOS1 = 0;
    tDMPLS_GOS2 = 0;
    tDMPLS_GOS3 = 0;
}

From source file:simMPLS.scenario.TLSRStats.java

/**
 * Crea una nueva instancia de TEstadisticasLSR
 * @since 1.0//from   w ww . java 2  s. c o m
 */
public TLSRStats() {
    paquetesEntrantes = new XYSeriesCollection();
    paquetesSalientes = new XYSeriesCollection();
    paquetesDescartados = new XYSeriesCollection();
    salientesMPLS = new XYSeries(TStats.MPLS);
    salientesMPLS_GOS1 = new XYSeries(TStats.MPLS_GOS1);
    salientesMPLS_GOS2 = new XYSeries(TStats.MPLS_GOS2);
    salientesMPLS_GOS3 = new XYSeries(TStats.MPLS_GOS3);
    salientesTLDP = new XYSeries(TStats.TLDP);
    salientesGPSRP = new XYSeries(TStats.GPSRP);
    entrantesMPLS = new XYSeries(TStats.MPLS);
    entrantesMPLS_GOS1 = new XYSeries(TStats.MPLS_GOS1);
    entrantesMPLS_GOS2 = new XYSeries(TStats.MPLS_GOS2);
    entrantesMPLS_GOS3 = new XYSeries(TStats.MPLS_GOS3);
    entrantesTLDP = new XYSeries(TStats.TLDP);
    entrantesGPSRP = new XYSeries(TStats.GPSRP);
    descartadosMPLS = new XYSeries(TStats.MPLS);
    descartadosMPLS_GOS1 = new XYSeries(TStats.MPLS_GOS1);
    descartadosMPLS_GOS2 = new XYSeries(TStats.MPLS_GOS2);
    descartadosMPLS_GOS3 = new XYSeries(TStats.MPLS_GOS3);
    descartadosTLDP = new XYSeries(TStats.TLDP);
    descartadosGPSRP = new XYSeries(TStats.GPSRP);
    tEMPLS = 0;
    tEMPLS_GOS1 = 0;
    tEMPLS_GOS2 = 0;
    tEMPLS_GOS3 = 0;
    tETLDP = 0;
    tEGPSRP = 0;
    tSMPLS = 0;
    tSMPLS_GOS1 = 0;
    tSMPLS_GOS2 = 0;
    tSMPLS_GOS3 = 0;
    tSTLDP = 0;
    tSGPSRP = 0;
    tDMPLS = 0;
    tDMPLS_GOS1 = 0;
    tDMPLS_GOS2 = 0;
    tDMPLS_GOS3 = 0;
    tDTLDP = 0;
    tDGPSRP = 0;
}

From source file:simMPLS.scenario.TLSRAStats.java

/**
 * Crea una nueva instancia de TEstadisticasLSRA
 * @since 1.0//from  www .  j av  a  2 s.  c  o  m
 */
public TLSRAStats() {
    paquetesEntrantes = new XYSeriesCollection();
    paquetesSalientes = new XYSeriesCollection();
    paquetesDescartados = new XYSeriesCollection();
    salientesMPLS = new XYSeries(TStats.MPLS);
    salientesMPLS_GOS1 = new XYSeries(TStats.MPLS_GOS1);
    salientesMPLS_GOS2 = new XYSeries(TStats.MPLS_GOS2);
    salientesMPLS_GOS3 = new XYSeries(TStats.MPLS_GOS3);
    salientesTLDP = new XYSeries(TStats.TLDP);
    salientesGPSRP = new XYSeries(TStats.GPSRP);
    entrantesMPLS = new XYSeries(TStats.MPLS);
    entrantesMPLS_GOS1 = new XYSeries(TStats.MPLS_GOS1);
    entrantesMPLS_GOS2 = new XYSeries(TStats.MPLS_GOS2);
    entrantesMPLS_GOS3 = new XYSeries(TStats.MPLS_GOS3);
    entrantesTLDP = new XYSeries(TStats.TLDP);
    entrantesGPSRP = new XYSeries(TStats.GPSRP);
    descartadosMPLS = new XYSeries(TStats.MPLS);
    descartadosMPLS_GOS1 = new XYSeries(TStats.MPLS_GOS1);
    descartadosMPLS_GOS2 = new XYSeries(TStats.MPLS_GOS2);
    descartadosMPLS_GOS3 = new XYSeries(TStats.MPLS_GOS3);
    descartadosTLDP = new XYSeries(TStats.TLDP);
    descartadosGPSRP = new XYSeries(TStats.GPSRP);
    tEMPLS = 0;
    tEMPLS_GOS1 = 0;
    tEMPLS_GOS2 = 0;
    tEMPLS_GOS3 = 0;
    tETLDP = 0;
    tEGPSRP = 0;
    tSMPLS = 0;
    tSMPLS_GOS1 = 0;
    tSMPLS_GOS2 = 0;
    tSMPLS_GOS3 = 0;
    tSTLDP = 0;
    tSGPSRP = 0;
    tDMPLS = 0;
    tDMPLS_GOS1 = 0;
    tDMPLS_GOS2 = 0;
    tDMPLS_GOS3 = 0;
    tDTLDP = 0;
    tDGPSRP = 0;
    retransmisionesAtendidas = new DefaultCategoryDataset();
    solicitudesRecibidas = 0;
    retransmisionesRealizadas = 0;
    retransmisionesNoRealizadas = 0;
    recuperacionesLocales = new DefaultCategoryDataset();
    paquetesGoSPerdido = 0;
    solicitudesEmitidas = 0;
    paquetesGoSRecuperados = 0;
    paquetesGoSNoRecuperados = 0;
}

From source file:simMPLS.scenario.TLERStats.java

/**
 * Crea una nueva instancia de TEstadisticasLER
 * @since 1.0/*w  ww  . j  av  a  2s  . c om*/
 */
public TLERStats() {
    paquetesEntrantes = new XYSeriesCollection();
    paquetesSalientes = new XYSeriesCollection();
    paquetesDescartados = new XYSeriesCollection();
    salientesIPv4 = new XYSeries(TStats.IPV4);
    salientesIPv4_GOS1 = new XYSeries(TStats.IPV4_GOS1);
    salientesIPv4_GOS2 = new XYSeries(TStats.IPV4_GOS2);
    salientesIPv4_GOS3 = new XYSeries(TStats.IPV4_GOS3);
    salientesMPLS = new XYSeries(TStats.MPLS);
    salientesMPLS_GOS1 = new XYSeries(TStats.MPLS_GOS1);
    salientesMPLS_GOS2 = new XYSeries(TStats.MPLS_GOS2);
    salientesMPLS_GOS3 = new XYSeries(TStats.MPLS_GOS3);
    salientesTLDP = new XYSeries(TStats.TLDP);
    salientesGPSRP = new XYSeries(TStats.GPSRP);
    entrantesIPv4 = new XYSeries(TStats.IPV4);
    entrantesIPv4_GOS1 = new XYSeries(TStats.IPV4_GOS1);
    entrantesIPv4_GOS2 = new XYSeries(TStats.IPV4_GOS2);
    entrantesIPv4_GOS3 = new XYSeries(TStats.IPV4_GOS3);
    entrantesMPLS = new XYSeries(TStats.MPLS);
    entrantesMPLS_GOS1 = new XYSeries(TStats.MPLS_GOS1);
    entrantesMPLS_GOS2 = new XYSeries(TStats.MPLS_GOS2);
    entrantesMPLS_GOS3 = new XYSeries(TStats.MPLS_GOS3);
    entrantesTLDP = new XYSeries(TStats.TLDP);
    entrantesGPSRP = new XYSeries(TStats.GPSRP);
    descartadosIPv4 = new XYSeries(TStats.IPV4);
    descartadosIPv4_GOS1 = new XYSeries(TStats.IPV4_GOS1);
    descartadosIPv4_GOS2 = new XYSeries(TStats.IPV4_GOS2);
    descartadosIPv4_GOS3 = new XYSeries(TStats.IPV4_GOS3);
    descartadosMPLS = new XYSeries(TStats.MPLS);
    descartadosMPLS_GOS1 = new XYSeries(TStats.MPLS_GOS1);
    descartadosMPLS_GOS2 = new XYSeries(TStats.MPLS_GOS2);
    descartadosMPLS_GOS3 = new XYSeries(TStats.MPLS_GOS3);
    descartadosTLDP = new XYSeries(TStats.TLDP);
    descartadosGPSRP = new XYSeries(TStats.GPSRP);
    tEIPV4 = 0;
    tEIPV4_GOS1 = 0;
    tEIPV4_GOS2 = 0;
    tEIPV4_GOS3 = 0;
    tEMPLS = 0;
    tEMPLS_GOS1 = 0;
    tEMPLS_GOS2 = 0;
    tEMPLS_GOS3 = 0;
    tETLDP = 0;
    tEGPSRP = 0;
    tSIPV4 = 0;
    tSIPV4_GOS1 = 0;
    tSIPV4_GOS2 = 0;
    tSIPV4_GOS3 = 0;
    tSMPLS = 0;
    tSMPLS_GOS1 = 0;
    tSMPLS_GOS2 = 0;
    tSMPLS_GOS3 = 0;
    tSTLDP = 0;
    tSGPSRP = 0;
    tDIPV4 = 0;
    tDIPV4_GOS1 = 0;
    tDIPV4_GOS2 = 0;
    tDIPV4_GOS3 = 0;
    tDMPLS = 0;
    tDMPLS_GOS1 = 0;
    tDMPLS_GOS2 = 0;
    tDMPLS_GOS3 = 0;
    tDTLDP = 0;
    tDGPSRP = 0;
}

From source file:simMPLS.scenario.TLERAStats.java

/**
 * Crea una nueva instancia de TEstadisticasLERA
 * @since 1.0/*from   ww  w. java 2 s. co m*/
 */
public TLERAStats() {
    paquetesEntrantes = new XYSeriesCollection();
    paquetesSalientes = new XYSeriesCollection();
    paquetesDescartados = new XYSeriesCollection();
    salientesIPv4 = new XYSeries(TStats.IPV4);
    salientesIPv4_GOS1 = new XYSeries(TStats.IPV4_GOS1);
    salientesIPv4_GOS2 = new XYSeries(TStats.IPV4_GOS2);
    salientesIPv4_GOS3 = new XYSeries(TStats.IPV4_GOS3);
    salientesMPLS = new XYSeries(TStats.MPLS);
    salientesMPLS_GOS1 = new XYSeries(TStats.MPLS_GOS1);
    salientesMPLS_GOS2 = new XYSeries(TStats.MPLS_GOS2);
    salientesMPLS_GOS3 = new XYSeries(TStats.MPLS_GOS3);
    salientesTLDP = new XYSeries(TStats.TLDP);
    salientesGPSRP = new XYSeries(TStats.GPSRP);
    entrantesIPv4 = new XYSeries(TStats.IPV4);
    entrantesIPv4_GOS1 = new XYSeries(TStats.IPV4_GOS1);
    entrantesIPv4_GOS2 = new XYSeries(TStats.IPV4_GOS2);
    entrantesIPv4_GOS3 = new XYSeries(TStats.IPV4_GOS3);
    entrantesMPLS = new XYSeries(TStats.MPLS);
    entrantesMPLS_GOS1 = new XYSeries(TStats.MPLS_GOS1);
    entrantesMPLS_GOS2 = new XYSeries(TStats.MPLS_GOS2);
    entrantesMPLS_GOS3 = new XYSeries(TStats.MPLS_GOS3);
    entrantesTLDP = new XYSeries(TStats.TLDP);
    entrantesGPSRP = new XYSeries(TStats.GPSRP);
    descartadosIPv4 = new XYSeries(TStats.IPV4);
    descartadosIPv4_GOS1 = new XYSeries(TStats.IPV4_GOS1);
    descartadosIPv4_GOS2 = new XYSeries(TStats.IPV4_GOS2);
    descartadosIPv4_GOS3 = new XYSeries(TStats.IPV4_GOS3);
    descartadosMPLS = new XYSeries(TStats.MPLS);
    descartadosMPLS_GOS1 = new XYSeries(TStats.MPLS_GOS1);
    descartadosMPLS_GOS2 = new XYSeries(TStats.MPLS_GOS2);
    descartadosMPLS_GOS3 = new XYSeries(TStats.MPLS_GOS3);
    descartadosTLDP = new XYSeries(TStats.TLDP);
    descartadosGPSRP = new XYSeries(TStats.GPSRP);
    tEIPV4 = 0;
    tEIPV4_GOS1 = 0;
    tEIPV4_GOS2 = 0;
    tEIPV4_GOS3 = 0;
    tEMPLS = 0;
    tEMPLS_GOS1 = 0;
    tEMPLS_GOS2 = 0;
    tEMPLS_GOS3 = 0;
    tETLDP = 0;
    tEGPSRP = 0;
    tSIPV4 = 0;
    tSIPV4_GOS1 = 0;
    tSIPV4_GOS2 = 0;
    tSIPV4_GOS3 = 0;
    tSMPLS = 0;
    tSMPLS_GOS1 = 0;
    tSMPLS_GOS2 = 0;
    tSMPLS_GOS3 = 0;
    tSTLDP = 0;
    tSGPSRP = 0;
    tDIPV4 = 0;
    tDIPV4_GOS1 = 0;
    tDIPV4_GOS2 = 0;
    tDIPV4_GOS3 = 0;
    tDMPLS = 0;
    tDMPLS_GOS1 = 0;
    tDMPLS_GOS2 = 0;
    tDMPLS_GOS3 = 0;
    tDTLDP = 0;
    tDGPSRP = 0;
    retransmisionesAtendidas = new DefaultCategoryDataset();
    solicitudesRecibidas = 0;
    retransmisionesRealizadas = 0;
    retransmisionesNoRealizadas = 0;
    recuperacionesLocales = new DefaultCategoryDataset();
    paquetesGoSPerdido = 0;
    solicitudesEmitidas = 0;
    paquetesGoSRecuperados = 0;
    paquetesGoSNoRecuperados = 0;
}

From source file:com.sixrr.metrics.ui.charts.DiffDistributionDialog.java

private XYSeriesCollection createDistributionSeries() {

    final double[] strippedDataPoints = GraphUtils.stripNulls(datapoints);
    final XYSeries series = new XYSeries(metricName);
    Arrays.sort(strippedDataPoints);
    if (strippedDataPoints[0] != 0.0) {
        series.add(0.0, 0.0);//w ww  .j ava 2 s  .co m
    }
    for (int i = 0; i < strippedDataPoints.length; i++) {
        int j = i + 1;
        while (j < strippedDataPoints.length && strippedDataPoints[i] == strippedDataPoints[j]) {
            i++;
            j++;
        }
        series.add(strippedDataPoints[i], (double) (i + 1) * 100.0 / (double) strippedDataPoints.length);
    }
    final XYSeriesCollection seriesCollection = new XYSeriesCollection();
    seriesCollection.addSeries(series);
    final double[] strippedPrevDataPoints = GraphUtils.stripNulls(prevDatapoints);
    final XYSeries prevSeries = new XYSeries(MetricsReloadedBundle.message("previous") + " " + metricName);
    Arrays.sort(strippedPrevDataPoints);
    if (strippedPrevDataPoints[0] != 0.0) {
        prevSeries.add(0.0, 0.0);
    }
    for (int i = 0; i < strippedPrevDataPoints.length; i++) {
        int j = i + 1;
        while (j < strippedPrevDataPoints.length && strippedPrevDataPoints[i] == strippedPrevDataPoints[j]) {
            i++;
            j++;
        }
        prevSeries.add(strippedPrevDataPoints[i],
                (double) (i + 1) * 100.0 / (double) strippedPrevDataPoints.length);
    }
    seriesCollection.addSeries(prevSeries);
    return seriesCollection;
}

From source file:edu.caltechUcla.sselCassel.projects.jMarkets.shared.interfaces.PriceChart.java

public JPanel getChartPanel() {
    XYSeriesCollection collection = new XYSeriesCollection();

    Enumeration en = lines.elements();
    while (en.hasMoreElements()) {
        XYSeries series = (XYSeries) en.nextElement();
        collection.addSeries(series);// w  ww .  jav  a 2s. com
    }

    NumberAxis yAxis = new NumberAxis("Price");
    NumberAxis xAxis = new NumberAxis("Time");

    XYLineAndShapeRenderer renderer = new XYLineAndShapeRenderer();
    XYPlot plot = new XYPlot(collection, xAxis, yAxis, renderer);

    JFreeChart chart = new JFreeChart("Price Chart", new Font("Arial", 0, 12), plot, true);
    ChartPanel chartPanel = new ChartPanel(chart, false, false, false, false, false);

    return chartPanel;
}

From source file:ucar.unidata.idv.control.chart.VerticalProfileChart.java

/**
 *  Add a series to the charts//from w  ww  .j a  v  a2  s  .com
 *
 *
 * @param series   series
 * @param lineState line state
 * @param paramIdx  param index
 * @param renderer  renderer
 * @param rangeVisible range visible
 *
 * @return  the Axis
 */
protected Axis addSeries(XYSeries series, LineState lineState, int paramIdx, XYItemRenderer renderer,
        boolean rangeVisible) {

    if (lineState.getRange() != null) {
        addRange(lineState.getRange().getMin(), lineState.getRange().getMax(),
                "Fixed range from: " + lineState.getName());
    }

    if (numberFormat == null) {
        numberFormat = new DecimalFormat() {
            public StringBuffer format(double number, StringBuffer result, FieldPosition fieldPosition) {

                String s = control.getDisplayConventions().format(number);
                result.append(s);
                return result;
            }
        };

    }

    String name = lineState.getName();
    Unit unit = lineState.unit;
    XYSeriesCollection dataset = new XYSeriesCollection();
    dataset.addSeries(series);

    NumberAxis rangeAxis;
    NumberAxis domainAxis = null;
    String axisLabel = name + ((unit != null) ? " [" + unit + "]" : "");

    if (lineState.getUseLogarithmicRange() && false) {
        rangeAxis = new FixedWidthLogarithmicAxis(axisLabel);
    } else {
        //rangeAxis = new FixedWidthNumberAxis(axisLabel);
        rangeAxis = new NumberAxis(axisLabel);
        ((NumberAxis) rangeAxis).setAutoRangeIncludesZero(lineState.getRangeIncludesZero());
        VerticalProfileInfo vpInfo = (VerticalProfileInfo) profiles.get(0);
        Unit altUnit = vpInfo.getAltitudeUnit();
        if (altUnit != null && paramIdx == 0 && !(altUnit.equals(CommonUnit.meter))) {
            String dlabel = "Altitude " + "[" + altUnit + "]";
            domainAxis = new NumberAxis(dlabel);
            if (altUnit.isConvertible(CommonUnits.HECTOPASCAL))
                domainAxis.setInverted(true);
        }
    }

    //For now lets use the default number formatting for the range
    //        rangeAxis.setNumberFormatOverride(numberFormat);

    rangeAxis.setVisible(rangeVisible);

    ucar.unidata.util.Range r = lineState.getRange();
    if (r != null) {
        rangeAxis.setRange(new org.jfree.data.Range(r.getMin(), r.getMax()));
    }

    if (renderer == null) {
        renderer = getRenderer(lineState);
    }

    Paint c = lineState.getColor(paramIdx);
    rangeAxis.setLabelPaint(Color.black);
    renderer.setSeriesPaint(0, c);
    renderer.setSeriesStroke(0, lineState.getStroke());

    if (!lineState.getAxisVisible()) {
        rangeAxis.setVisible(false);
    }

    AxisLocation side = null;
    ChartHolder chartHolder = getChartHolder(lineState);
    if (rangeAxis.isVisible()) {
        if (lineState.getSide() == LineState.SIDE_UNDEFINED) {
            side = AxisLocation.BOTTOM_OR_RIGHT;
        } else if (lineState.getSide() == LineState.SIDE_LEFT) {
            side = AxisLocation.TOP_OR_LEFT;
        } else {
            side = AxisLocation.BOTTOM_OR_RIGHT;
        }
        chartHolder.lastSide = side;
    }

    synchronized (MUTEX) {
        if (domainAxis == null) {
            if (isConservedSounding)
                chartHolder.add(dataset, renderer, side);
            else
                chartHolder.add(dataset, rangeAxis, renderer, side);

        } else
            chartHolder.add(dataset, rangeAxis, domainAxis, renderer, side);
    }

    return rangeAxis;
}

From source file:simMPLS.scenario.TReceiverStats.java

/**
 * Este mtodo reinicia los atributos de la clase, dejando las instancia como si
 * acabase de ser creada por el constructor.
 * @since 1.0// w w w .j  a  v  a  2  s.c  o  m
 */
public void reset() {
    paquetesEntrantes = new XYSeriesCollection();
    entrantesIPv4 = new XYSeries(TStats.IPV4);
    entrantesIPv4_GOS1 = new XYSeries(TStats.IPV4_GOS1);
    entrantesIPv4_GOS2 = new XYSeries(TStats.IPV4_GOS2);
    entrantesIPv4_GOS3 = new XYSeries(TStats.IPV4_GOS3);
    entrantesMPLS = new XYSeries(TStats.MPLS);
    entrantesMPLS_GOS1 = new XYSeries(TStats.MPLS_GOS1);
    entrantesMPLS_GOS2 = new XYSeries(TStats.MPLS_GOS2);
    entrantesMPLS_GOS3 = new XYSeries(TStats.MPLS_GOS3);
    entrantesGPSRP = new XYSeries(TStats.GPSRP);
    tEIPV4 = 0;
    tEIPV4_GOS1 = 0;
    tEIPV4_GOS2 = 0;
    tEIPV4_GOS3 = 0;
    tEMPLS = 0;
    tEMPLS_GOS1 = 0;
    tEMPLS_GOS2 = 0;
    tEMPLS_GOS3 = 0;
    tEGPSRP = 0;
}