diff --git a/src/main/groovy/geoscript/plot/Scatter.groovy b/src/main/groovy/geoscript/plot/Scatter.groovy
index f9ddca80..77904efa 100644
--- a/src/main/groovy/geoscript/plot/Scatter.groovy
+++ b/src/main/groovy/geoscript/plot/Scatter.groovy
@@ -24,14 +24,15 @@ class Scatter {
* Create a scatter plot Chart
* @param options Named parameter options
*
- * - title: The chart title
- * - xLabel: The x axis label
- * - yLabel: The y axis label
- * - size: The size of the markers
- * - legend: Whether to show the legend
- * - tooltips: Whether to show the tooltips
- * - urls: Whether to show the urls
- * - orientation: The plot orientation (vertical or horizontal)
+ * - title: The chart title (defaults to an empty string)
+ * - xLabel: The x axis label (defaults to an empty string)
+ * - yLabel: The y axis label (defaults to an empty string)
+ * - dataLabel: The data series label (defaults to Values)
+ * - size: The size of the markers (defaults to 3)
+ * - legend: Whether to show the legend (defaults to true)
+ * - tooltips: Whether to show the tooltips (defaults to true)
+ * - urls: Whether to show the urls (defaults to false)
+ * - orientation: The plot orientation (vertical or horizontal) (defaults to vertical)
*
* @param data A List of data where each item is a List with two items.
* @return A Chart
@@ -40,6 +41,7 @@ class Scatter {
String title = options.get("title","")
String xLabel = options.get("xLabel","")
String yLabel = options.get("yLabel","")
+ String dataLabel = options.get("dataLabel", "Values")
int size = options.get("size",3)
boolean legend = options.get("legend", true)
boolean tooltips = options.get("tooltips", true)
@@ -52,7 +54,7 @@ class Scatter {
def yAxis = new NumberAxis(yLabel)
yAxis.autoRangeIncludesZero = false
- def series = new XYSeries("Values")
+ def series = new XYSeries(dataLabel)
data.each {datum ->
series.add(datum[0], datum[1])
}