From f564f409b7e0d41ea854b6662d8b72d4b7c4a4a0 Mon Sep 17 00:00:00 2001 From: dsc Date: Thu, 23 Feb 2012 18:58:42 -0800 Subject: [PATCH] Fixes issue processing `file` option as a URL. --- lib/template/graph-option.jade | 3 ++- msc/dygraph-options/data.yaml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/template/graph-option.jade b/lib/template/graph-option.jade index 20494dc..07d2eb3 100644 --- a/lib/template/graph-option.jade +++ b/lib/template/graph-option.jade @@ -8,7 +8,8 @@ include browser-helpers .field.option(id=option_id, class="#{category_cls} #{tags_cls}") a.close × - h3.shortname #{_.shortname(name)} + //- h3.shortname #{_.shortname(name)} + h3.shortname #{name} label.name(for=value_id) #{name} input.value(type="text", id=value_id, name=name, class=type_cls, value=value) diff --git a/msc/dygraph-options/data.yaml b/msc/dygraph-options/data.yaml index 4e3d575..9daa807 100644 --- a/msc/dygraph-options/data.yaml +++ b/msc/dygraph-options/data.yaml @@ -16,11 +16,11 @@ - overall display - name: file - type: String (URL of CSV or CSV), GViz DataTable or 2D Array + type: String default: null desc: Sets the data being displayed in the chart. This can only be set when calling updateOptions; it cannot be set from the constructor. For a full description of valid data formats, see the Data - Formats page. + Formats page. String can be a URL of CSV or CSV, GViz DataTable or 2D Array. tags: - data examples: -- 1.7.0.4