System.err.println("cannot load " + fileName);
System.exit(1);
}
TimeSeriesVisualization visualization = // Create a visualization
new TimeSeriesVisualization(t); // for Time Series
VisualizationPanel panel = // Create a Swing Component to hold it
new VisualizationPanel(visualization);
// Associate the color with the Name attribute
visualization.setVisualColumn(
TimeSeriesVisualization.VISUAL_COLOR,
t.getColumn("Name"));