Revision 11033 trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/graphic/GraphicContainer.java
GraphicContainer.java | ||
---|---|---|
19 | 19 |
package org.gvsig.gui.beans.graphic; |
20 | 20 |
|
21 | 21 |
import java.awt.BorderLayout; |
22 |
import java.awt.Color; |
|
22 | 23 |
import java.awt.GridBagConstraints; |
23 | 24 |
import java.util.ArrayList; |
24 | 25 |
import java.util.Iterator; |
... | ... | |
189 | 190 |
eventId++; |
190 | 191 |
} |
191 | 192 |
|
193 |
public void setBandVisible(int band, boolean visible) { |
|
194 |
getPGraphic().getChart().getChart().getXYPlot().getRenderer().setSeriesVisible(band, Boolean.valueOf(visible)); |
|
195 |
} |
|
196 |
|
|
197 |
public void setBandColor(int band, Color color) { |
|
198 |
getPGraphic().getChart().getChart().getXYPlot().getRenderer().setSeriesPaint(band, color); |
|
199 |
} |
|
192 | 200 |
} |
Also available in: Unified diff