Return this for all relevant setters in Line

Change-Id: Id5a2ae15736726b210b7e47422b86bd7188a3f46
diff --git a/aos/network/www/plotter.ts b/aos/network/www/plotter.ts
index b4fc2eb..f26d168 100644
--- a/aos/network/www/plotter.ts
+++ b/aos/network/www/plotter.ts
@@ -96,9 +96,10 @@
     return this._drawLine;
   }
 
-  setDrawLine(newDrawLine: boolean) {
+  setDrawLine(newDrawLine: boolean): Line {
     this._drawLine = newDrawLine;
     this._hasUpdate = true;
+    return this;
   }
 
   // Set the points to render. The points in the line are ordered and should
@@ -137,8 +138,9 @@
   }
 
   // Get/set the label to use for the line when drawing the legend.
-  setLabel(label: string) {
+  setLabel(label: string): Line {
     this._label = label;
+    return this;
   }
 
   label(): string|null {