--- /dev/null
+# ChartType
+
+ChartType is an abstraction on charting libraries to allow them to plug into the GraphKit framework.
+
+
--- /dev/null
+# Dashboard
+
+## Features
+
+- Home: Marquee/highlighted graphs showed, plus
+- Browse graphs by time, cat, tag
+- View a graphs -> Edit
+
# Reminder: the project transparently compiles any .yaml files requested as .json
# at request time -- you're welcome to generate them in either form.
-# TODO: Thrift/Avro schema?
+# TODO: Thrift/Avro schema
id : Unique identifier for this dataset. This file should be named `{id}.{ext}`
format : Data format. Valid: csv, json. (Maybe in the future: yaml, xml, etc.)
url : Canonical URL for the dataset's data file: /data/
-# Timespan and quanta covered by this dataset
+### Timespan and quanta covered by this dataset
timespan :
- start : Start of the dataset, eg: 2012-01-01T00:00:00 or 2012-01-01 or 1325404800
- All dates should be seconds-since-the-epoch, or ISO-8601 formatted: YYYY-MM-DDThh:mm:ss.s
+ start : Start of the dataset, eg: 2012/01/01T00:00:00 or 2012/01/01 or 1325404800
+ All dates should be seconds-since-the-epoch, or ISO-8601 formatted: YYYY/MM/DDThh:mm:ss.s
See also: http://www.w3.org/TR/NOTE-datetime
- end : End of the dataset, eg: 2012-02-01T00:00:00 or 2012-02-01 or 1328083200
+ And: http://blog.dygraphs.com/2012/03/javascript-and-dates-what-mess.html
+ end : End of the dataset, eg: 2012/02/01T00:00:00 or 2012/02/01 or 1328083200
step : Amount of time between elapsed between each row, measured in seconds, eg: 86400
-# Metadata about the datatypes
+### Metadata about the Datatypes
+# Note: 'columns' can also be supplied as a list of { label, type } objects instead of two lists. (TODO)
columns :
labels : List of the column-names in order. (Future optimization: the date column could
be omitted if the data is sorted and contains no gaps -- each datapoint is exactly
timespan.step apart, and none are missing.)
types : List of the column datatype-names in order. Valid type names: date, float, int.
-# Defaults for charting
+### Defaults for charting
chart :
library : Visualization library to use. Valid: dygraphs.
options : Dict of option-names to values.
--- /dev/null
+# Scaffold Framework
+
--- /dev/null
+# Visualization Editor
+
--- /dev/null
+# notes
+
+- [Name Ideas] GraphKit, VisKit, VisHub
+
+
+## Value Formatter
+
+```
+[sign][#][minW][~maxW][,][.precision][type]
+
+sign ::= "+" | "-" | " "
+# ::= Output will be prefixed by '0b' for binary, '0o' for octal, or '0x' for hexadecimal
+minW ::= Minimum field width
+maxW ::= Maximum field width
+, ::= Use comma for thousands separator
+precision ::= How many digits displayed...
+ fF - after the decimal point
+ gG - before and after the decimal point
+type ::= Use type-specific formatting:
+ String: s
+ Integer: b (base2) | c (unicode chars) | d (base10) | o (base8) | xX (base16) | n (locale-aware)
+ Float: eE (scientific) | fF (fixed) | gG (general) | % |
+ k (use KMBT when rounding; )
+```
+
+
+## Start Server in Screen & Tee Logs
+
+ screen -dr kraken
+ ./lib/server/server.co | tee -a logs/kraken.log
+
+
# Graphs and Metrics for the March Dealine
+- Reprocess all datafiles and fix dates to use `/` instead of `-` -- see:
+ - (Safari) dygraph on safari has a bug parsing dates, bug http://code.google.com/p/dygraphs/issues/detail?id=287
+
## Done
## Wanted
+++ /dev/null
-# notes
-
-## Scaffold Forms
-
-- Type to form mappings:
- - String, Integer, Float -> text
- - Boolean -> checkbox
- - Object, Array, Function -> textarea
-
-
-
-## Start Server in Screen & Tee Logs
-
- screen -dr kraken
- ./lib/server/server.co | tee -a logs/kraken.log
-
-
# todo
-
## bugs
-- redraw button!
-- (Safari) dygraph on safari has a bug parsing dates, bug http://code.google.com/p/dygraphs/issues/detail?id=287
+
## ux
-- [Datasource UI]
+- [DataSource UI]
- Sources Selector: list datasets via YAML metadata descriptor files (/data/list -> UI)
- Metric Selector: select metrics out of a dataset
- (Date range selector & scrubber?)
- Relationships between datasets which can help inform rich UI responses (click on "Europe" and have it expand to the countries)
- Legend by Default
-- value parsers for large numbers
+- value parsers for large numbers with comma, KMB.00
- easily create new graphs side-by-side
- clear current graph