java.lang.Object
de.edgesoft.edgeutils.xchart.XYSeriesUtils
public class XYSeriesUtils
extends java.lang.Object
Convenience methods for
XYSeries.
Legal stuff
Copyright 2010-2020 Ekkart Kleinod ekleinod@edgesoft.de
This file is part of edgeutils.
edgeutils is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
edgeutils is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with edgeutils. If not, see http://www.gnu.org/licenses/.
- Since:
- 0.10.1
- Author:
- Ekkart Kleinod
-
Constructor Summary
Constructors Constructor Description XYSeriesUtils() -
Method Summary
Modifier and Type Method Description static org.knowm.xchart.XYSeriesgetXYSeries(java.lang.String name, java.util.List<? extends java.util.Date> xData, java.util.List<? extends java.lang.Integer> yData, java.util.List<? extends java.lang.Integer> errorBars, org.knowm.xchart.internal.series.Series.DataType axisType)Returns initializedXYSeriesobject.
-
Constructor Details
-
XYSeriesUtils
public XYSeriesUtils()
-
-
Method Details
-
getXYSeries
public static org.knowm.xchart.XYSeries getXYSeries(java.lang.String name, java.util.List<? extends java.util.Date> xData, java.util.List<? extends java.lang.Integer> yData, java.util.List<? extends java.lang.Integer> errorBars, org.knowm.xchart.internal.series.Series.DataType axisType)Returns initializedXYSeriesobject.- Parameters:
name- namexData- x data list (null == empty)yData- y data list (null == empty)errorBars- error bars (null == empty)axisType- axis type- Returns:
- initialized xyseries object
-