@Component public class HighchartSeriesUtil extends Object
| Constructor and Description |
|---|
HighchartSeriesUtil() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convertValue(AttributeType attributeType,
Object value)
Convert values to match the Highcharts demand when using JSON.
|
Series |
parseBoxPlotSerieToSeries(BoxPlotSerie boxPlotSerie)
Parse the boxPlotSerie to a Series object computable with the Highcharts box plot series standard
|
List<Series> |
parseToBoxPlotSeriesList(List<BoxPlotSerie> boxPlotSeries)
Parse the boxPlotSeries objects list to a Series objects list.
|
List<Series> |
parseToXYDataSeriesList(List<XYDataSerie> xYDataSeries)
Parse the xyDataSeries objects list to a Series objects list.
|
Series |
parsexYDataSerieToSeries(XYDataSerie xYDataSerie)
Parse the xYDataSerie to a Series object computable with the Highcharts xy series standard.
|
List<Object> |
parseXYDataToList(List<XYData> xydata,
AttributeType xValueFieldTypeEnum,
AttributeType yValueFieldTypeEnum)
Parse the x and y data-objects to object computable with the Highcharts scatter plot standard.
|
public List<Series> parseToXYDataSeriesList(List<XYDataSerie> xYDataSeries)
xYDataSeries - public List<Series> parseToBoxPlotSeriesList(List<BoxPlotSerie> boxPlotSeries)
boxPlotSeries - public Series parsexYDataSerieToSeries(XYDataSerie xYDataSerie)
xYDataSerie - public Series parseBoxPlotSerieToSeries(BoxPlotSerie boxPlotSerie)
boxPlotSerie - public List<Object> parseXYDataToList(List<XYData> xydata, AttributeType xValueFieldTypeEnum, AttributeType yValueFieldTypeEnum)
xydata - xValueFieldTypeEnum - yValueFieldTypeEnum - public Object convertValue(AttributeType attributeType, Object value)
attributeType - the type of the attributevalue - the attribute value to convertCopyright © 2017. All rights reserved.