Examples of chartDot()


Examples of net.yacy.visualization.ChartPlotter.chartDot()

                    time = event.time - now;
                    bytes = ((Long) event.payload).longValue();
                    x1 = (int) (time/1000);
                    y1 = (int) (bytes / 1024 / 1024);
                    chart.setColor("AAAAFF");
                    chart.chartDot(ChartPlotter.DIMENSION_BOTTOM, ChartPlotter.DIMENSION_RIGHT, x1, y1, 2, null, 0);
                    chart.setColor("0000FF");
                    if (x0 < 0) chart.chartLine(ChartPlotter.DIMENSION_BOTTOM, ChartPlotter.DIMENSION_RIGHT, x0, y0, x1, y1);
                    x0 = x1; y0 = y1;
                }
            }
View Full Code Here

Examples of net.yacy.visualization.ChartPlotter.chartDot()

                    time = event.time - now;
                    words = (int) ((Long) event.payload).longValue();
                    x1 = (int) (time/1000);
                    y1 = words;
                    chart.setColor("228822");
                    chart.chartDot(ChartPlotter.DIMENSION_BOTTOM, ChartPlotter.DIMENSION_LEFT, x1, y1, 2, null, 315);
                    chart.setColor("008800");
                    if (x0 < 0) chart.chartLine(ChartPlotter.DIMENSION_BOTTOM, ChartPlotter.DIMENSION_LEFT, x0, y0, x1, y1);
                    x0 = x1; y0 = y1;
                }
            }
View Full Code Here

Examples of net.yacy.visualization.ChartPlotter.chartDot()

                    x1 = (int) (time/1000);
                    y1 = ppm;
                    chart.setColor("AA8888");
                    if (x0 < 0) chart.chartLine(ChartPlotter.DIMENSION_BOTTOM, ChartPlotter.DIMENSION_ANOT0, x0, y0, x1, y1);
                    chart.setColor("AA2222");
                    chart.chartDot(ChartPlotter.DIMENSION_BOTTOM, ChartPlotter.DIMENSION_ANOT0, x1, y1, 2, ppm + " PPM", 0);
                    x0 = x1; y0 = y1;
                }
            }
           
            bufferChart = chart;
View Full Code Here

Examples of net.yacy.visualization.ChartPlotter.chartDot()

                        time = event.time - now;
                        bytes = ((Long) event.payload).longValue();
                        x1 = (int) (time/1000);
                        y1 = (int) (bytes / 1024 / 1024);
                        chart.setColor("AAAAFF");
                        chart.chartDot(ChartPlotter.DIMENSION_BOTTOM, ChartPlotter.DIMENSION_RIGHT, x1, y1, 2, null, 0);
                        chart.setColor("0000FF");
                        if (x0 < 0) chart.chartLine(ChartPlotter.DIMENSION_BOTTOM, ChartPlotter.DIMENSION_RIGHT, x0, y0, x1, y1);
                        x0 = x1; y0 = y1;
                    }
                }
View Full Code Here

Examples of net.yacy.visualization.ChartPlotter.chartDot()

                    time = event.time - now;
                    words = (int) ((Long) event.payload).longValue();
                    x1 = (int) (time/1000);
                    y1 = words;
                    chart.setColor("228822");
                    chart.chartDot(ChartPlotter.DIMENSION_BOTTOM, ChartPlotter.DIMENSION_LEFT, x1, y1, 2, null, 315);
                    chart.setColor("008800");
                    if (x0 < 0) chart.chartLine(ChartPlotter.DIMENSION_BOTTOM, ChartPlotter.DIMENSION_LEFT, x0, y0, x1, y1);
                    x0 = x1; y0 = y1;
                }
            }
View Full Code Here

Examples of net.yacy.visualization.ChartPlotter.chartDot()

                    x1 = (int) (time/1000);
                    y1 = ppm;
                    chart.setColor("AA8888");
                    if (x0 < 0) chart.chartLine(ChartPlotter.DIMENSION_BOTTOM, ChartPlotter.DIMENSION_ANOT0, x0, y0, x1, y1);
                    chart.setColor("AA2222");
                    chart.chartDot(ChartPlotter.DIMENSION_BOTTOM, ChartPlotter.DIMENSION_ANOT0, x1, y1, 2, ppm + " PPM", 0);
                    x0 = x1; y0 = y1;
                }
            }

            // draw peer ping
View Full Code Here

Examples of net.yacy.visualization.ChartPlotter.chartDot()

                    ping = (EventPing) event.payload;
                    x1 = (int) (time/1000);
                    y1 = Math.abs((ping.outgoing ? ping.toPeer : ping.fromPeer).hashCode()) % vspace;
                    pingPeer = ping.outgoing ? "-> " + ping.toPeer.toUpperCase() : "<- " + ping.fromPeer.toUpperCase();
                    chart.setColor("444444");
                    chart.chartDot(ChartPlotter.DIMENSION_BOTTOM, ChartPlotter.DIMENSION_ANOT2, x1, y1, 2, pingPeer + (ping.newPeers > 0 ? "(+" + ping.newPeers + ")" : ""), 0);
                    x0 = x1; y0 = y1;
                }
            }

            bufferChart = chart;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.