SSJ API Documentation
Stochastic Simulation in Java
Loading...
Searching...
No Matches
YListChart.java
1/*
2 * Class: YListChart
3 * Description:
4 * Environment: Java
5 * Software: SSJ
6 * Copyright (C) 2001 Pierre L'Ecuyer and Universite de Montreal
7 * Organization: DIRO, Universite de Montreal
8 * @author
9 * @since
10 *
11 *
12 * Licensed under the Apache License, Version 2.0 (the "License");
13 * you may not use this file except in compliance with the License.
14 * You may obtain a copy of the License at
15 *
16 * http://www.apache.org/licenses/LICENSE-2.0
17 *
18 * Unless required by applicable law or agreed to in writing, software
19 * distributed under the License is distributed on an "AS IS" BASIS,
20 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21 * See the License for the specific language governing permissions and
22 * limitations under the License.
23 *
24 */
25package umontreal.ssj.charts;
26
35public class YListChart extends XYLineChart {
36
40 public YListChart() {
41 super();
42 // dataset = new XYListSeriesCollection();
43 // init (null, null, null);
44 }
45
62 public YListChart(String title, String XLabel, String YLabel, double[]... data) {
63 super();
64 dataset = new YListSeriesCollection(data);
65 init(title, XLabel, YLabel);
66 }
67
82 public YListChart(String title, String XLabel, String YLabel, boolean flag, double[]... data) {
83 super();
84 dataset = new YListSeriesCollection(flag, data);
85 init(title, XLabel, YLabel);
86 }
87
105 public YListChart(String title, String XLabel, String YLabel, double[] data, int numPoints) {
106 super();
107 dataset = new YListSeriesCollection(data, numPoints);
108 init(title, XLabel, YLabel);
109 }
110
124 public YListChart(String title, String XLabel, String YLabel, double h, double[] data, int numPoints) {
125 super();
126 dataset = new YListSeriesCollection(h, data, numPoints);
127 init(title, XLabel, YLabel);
128 }
129
151 public YListChart(String title, String XLabel, String YLabel, double[][] data, int numPoints) {
152 super();
153 dataset = new YListSeriesCollection(data, numPoints);
154 init(title, XLabel, YLabel);
155 }
156}
XYLineChart()
Initializes a new XYLineChart instance with an empty data set.
YListChart(String title, String XLabel, String YLabel, double h, double[] data, int numPoints)
Similar to the constructor YListChart(title,XLabel, YLabel, data, numPoints) above,...
YListChart()
Empty constructor.
YListChart(String title, String XLabel, String YLabel, double[] data, int numPoints)
Initializes a new YListChart instance with a set of points data.
YListChart(String title, String XLabel, String YLabel, double[][] data, int numPoints)
Initializes a new YListChart instance with set of points data.
YListChart(String title, String XLabel, String YLabel, double[]... data)
Initializes a new YListChart instance with set of points data.
YListChart(String title, String XLabel, String YLabel, boolean flag, double[]... data)
Similar to the constructor YListChart(title, XLabel, YLabel, data) above.
This class extends umontreal.ssj.charts.XYListSeriesCollection.