From 71d9cb83e2c8ecda39bcb558128a2558cd6bc1a9 Mon Sep 17 00:00:00 2001 From: David Schoonover Date: Wed, 6 Jun 2012 05:48:24 -0700 Subject: [PATCH] Remove cruft from dev bugs. --- data/graphs/ohai.json | 11 +++-------- lib/graph/graph-model.co | 6 ++++-- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/data/graphs/ohai.json b/data/graphs/ohai.json index 0ed7334..9fd3bab 100644 --- a/data/graphs/ohai.json +++ b/data/graphs/ohai.json @@ -99,7 +99,6 @@ "data": { "palette": null, "lines": [], - "id": "ohai", "metrics": [{ "index": 0, "label": "Total Active Editors", @@ -153,8 +152,7 @@ "format_value": null, "format_axis": null, "transforms": [], - "scale": 1, - "source-url": "/data/datasources/rc/rc_very_active_editors_count.csv" + "scale": 1 }, { "index": 3, "label": "New Editors", @@ -172,8 +170,7 @@ "format_value": null, "format_axis": null, "transforms": [], - "scale": 1, - "source-url": "/data/datasources/rc/rc_very_active_editors_count.csv" + "scale": 1 }, { "index": 4, "label": "", @@ -193,7 +190,5 @@ "transforms": [], "scale": 1 }] - }, - "dataset": "/data/datasources/rc/rc_page_requests.csv", - "result": "ok" + } } diff --git a/lib/graph/graph-model.co b/lib/graph/graph-model.co index c205d16..54bb143 100644 --- a/lib/graph/graph-model.co +++ b/lib/graph/graph-model.co @@ -64,11 +64,13 @@ Graph = exports.Graph = BaseModel.extend do # {{{ name : '' desc : '' notes : '' - # dataset : '/data/datasources/rc/rc_comscore_region_uv.csv' - # dataset : null width : 'auto' height : 320 parents : <[ root ]> + data : + palette : null + metrics : [] + lines : [] callout : enabled : true metric_idx : 0 -- 1.7.0.4