Package no.uib.jsparklines.data

Examples of no.uib.jsparklines.data.JSparklinesDataset


                                        // add the data series to JSparklineDataset
                                        ArrayList<JSparklinesDataSeries> sparkLineDataSeries = new ArrayList<JSparklinesDataSeries>();
                                        sparkLineDataSeries.add(sparklineDataseriesAll);
                                        sparkLineDataSeries.add(sparklineDataseriesDataset);

                                        JSparklinesDataset dataset = new JSparklinesDataset(sparkLineDataSeries);

                                        pValues.add(pValue);
                                        indexes.add(goMappingsTable.getRowCount());

                                        ((DefaultTableModel) goMappingsTable.getModel()).addRow(new Object[]{
View Full Code Here


                            }

                            sparkLineDataSeriesCoverage.add(sparklineDataseries);
                        }

                        ChartPanel coverageChart = new ProteinSequencePanel(Color.WHITE).getSequencePlot(this, new JSparklinesDataset(sparkLineDataSeriesCoverage),
                                new HashMap<Integer, ArrayList<ResidueAnnotation>>(), true, true);

                        ((DefaultTableModel) coverageTable.getModel()).addRow(new Object[]{(i + 1), fileNames.get(i), coverageChart});

                        if (fileNames.get(i).length() > longestFileName) {
View Full Code Here

                }
                blocTooltips.put(blocCpt, blocAnnotation);
                blocCpt++;
            }

            coverageChart = new ProteinSequencePanel(Color.WHITE).getSequencePlot(this, new JSparklinesDataset(sparkLineDataSeriesCoverage), blocTooltips, true, true);

            // make sure that the range is the same for both charts (coverage and ptm)
            coverageChart.getChart().addChangeListener(new ChartChangeListener() {
                @Override
                public void chartChanged(ChartChangeEvent cce) {
View Full Code Here

                    data.add(new Double(unmodifiedCounter));
                    sparklineDataseriesPtm = new JSparklinesDataSeries(data, new Color(0, 0, 0, 0), null);
                    sparkLineDataSeriesPtm.add(sparklineDataseriesPtm);
                }

                ptmChart = new ProteinSequencePanel(Color.WHITE).getSequencePlot(this, new JSparklinesDataset(sparkLineDataSeriesPtm), proteinTooltips, false, false);
                sequencePtmsPanel.removeAll();
                sequencePtmsPanel.add(ptmChart);
                sequencePtmsPanel.revalidate();
                sequencePtmsPanel.repaint();
            } catch (ClassCastException e) {
View Full Code Here

            JSparklinesDataSeries sparklineDataseries = new JSparklinesDataSeries(data, areaColor, tooltip);

            // add the data series to JSparklineDataset
            sparkLineDataSeriesAll.add(sparklineDataseries);
        }
        JSparklinesDataset dataset = new JSparklinesDataset(sparkLineDataSeriesAll);

        // add the data to the table
        setValueAt(dataset, aa - 1, column);
    }
View Full Code Here

TOP

Related Classes of no.uib.jsparklines.data.JSparklinesDataset

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.