public class ChartGenerator extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CHART_TYPE_BAR_CHART |
static String |
CHART_TYPE_LINE_CHART |
static String |
CHART_TYPE_LIST |
static String |
CHART_TYPE_PIE_CHART |
Constructor and Description |
---|
ChartGenerator() |
Modifier and Type | Method and Description |
---|---|
protected static com.fasterxml.jackson.databind.JsonNode |
convert(byte[] jsonBytes) |
protected static com.vaadin.ui.Component |
createChart(com.fasterxml.jackson.databind.JsonNode dataNode,
String[] names,
Number[] values) |
static ChartComponent |
generateChart(byte[] reportData) |
protected static Double |
parseDouble(String s) |
protected static Long |
parseLong(String s) |
public static final String CHART_TYPE_BAR_CHART
public static final String CHART_TYPE_PIE_CHART
public static final String CHART_TYPE_LINE_CHART
public static final String CHART_TYPE_LIST
public static ChartComponent generateChart(byte[] reportData)
protected static com.vaadin.ui.Component createChart(com.fasterxml.jackson.databind.JsonNode dataNode, String[] names, Number[] values)
protected static com.fasterxml.jackson.databind.JsonNode convert(byte[] jsonBytes)
Copyright © 2016 Alfresco. All rights reserved.