RYN*_*RYN 2 time-series jfreechart
I'm using JFreeChart to create a chart that has 6 TimeSeries in it.
Problem: When I call .clear() on one of those series all others get hidden:
this.Series1.clear();
Run Code Online (Sandbox Code Playgroud)
Question: What should I do to clear a series without others disappear?
Before calling .clear() on the "Red" series.

After calling .clear() on the "Red" series.

我使用以下任一方法获得预期结果:
dataset.removeSeries(0);
dataset.getSeries(0).clear();
Run Code Online (Sandbox Code Playgroud)
您可能需要验证每个TimeSeries都是不同的实例。
| 归档时间: |
|
| 查看次数: |
4050 次 |
| 最近记录: |