Java Code Examples for org.jfree.data.xy.DefaultTableXYDataset#removeAllSeries()
The following examples show how to use
org.jfree.data.xy.DefaultTableXYDataset#removeAllSeries() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TableXYDatasetTests.java From astor with GNU General Public License v2.0 | 5 votes |
/** * A test for bug report 788597. */ public void test788597() { DefaultTableXYDataset dataset = new DefaultTableXYDataset(); dataset.addSeries(createSeries1()); assertEquals(4, dataset.getItemCount()); dataset.removeAllSeries(); assertEquals(0, dataset.getItemCount()); }
Example 2
Source File: TableXYDatasetTests.java From astor with GNU General Public License v2.0 | 5 votes |
/** * A test for bug report 788597. */ public void test788597() { DefaultTableXYDataset dataset = new DefaultTableXYDataset(); dataset.addSeries(createSeries1()); assertEquals(4, dataset.getItemCount()); dataset.removeAllSeries(); assertEquals(0, dataset.getItemCount()); }