generateData
public java.lang.String generateData(java.util.Map<java.lang.String,java.util.List<java.lang.Long>> series)
This method take as input a dictionnary whose key is a serie's name and
whose value is a list of numbers (points to be plotted). The syntax of
the generated String is the following: "[ { "color": "xxx", "name":
"xxx", "data": [ {"x": xx, "y": xx}, ...]}, { "color": "xxx", "name":
"xxx", "data": [ {"x": xx, "y": xx}, ...]}, ... ]
- Parameters:
series
-
- Returns:
- a String containing a Javascript array with data points for all
series that have to be plotted.