• Home
Name Date Size #Lines LOC

..--

LICENSE.dygraph.txtD03-May-20241 KiB2319

README.dygraph.txtD03-May-20241.6 KiB5646

README.webtreemap.txtD03-May-20242 KiB6344

aggregate_results.htmlD03-May-20242.5 KiB8353

aggregate_results.jsD03-May-202410.1 KiB276183

aggregate_results_unittest.jsD03-May-20247.8 KiB168125

base.jsD03-May-20242.1 KiB4813

base_unittests.jsD03-May-20241.7 KiB355

builders.jsD03-May-20247.3 KiB230165

builders_jsonp_for_file_urls.jsD03-May-20241.8 KiB332

builders_unittest.jsonpD03-May-20243.7 KiB115114

builders_unittests.jsD03-May-20244.8 KiB10157

dashboard_base.jsD03-May-20242.4 KiB5314

dygraph-combined.jsD03-May-202455.4 KiB11

flakiness_dashboard.cssD03-May-20242 KiB6563

flakiness_dashboard.htmlD03-May-20242.1 KiB4415

flakiness_dashboard.jsD03-May-202448 KiB1,3901,082

flakiness_dashboard_embedded.htmlD03-May-20243 KiB8449

flakiness_dashboard_embedded_unittests.jsD03-May-20241.9 KiB409

flakiness_dashboard_tests.cssD03-May-20245.6 KiB262260

flakiness_dashboard_unittests.jsD03-May-202418.5 KiB403322

history.jsD03-May-202412.2 KiB326241

history_unittests.jsD03-May-20243 KiB6929

load_failures.htmlD03-May-20241,016 4538

load_failures.jsD03-May-20246.1 KiB152114

load_failures_unittests.jsD03-May-20242.5 KiB6048

loader.jsD03-May-20248.2 KiB232167

loader_unittests.jsD03-May-20245.8 KiB14695

overview.htmlD03-May-20242.3 KiB7142

overview.jsD03-May-20247.5 KiB180116

overview_unittests.jsD03-May-20245.5 KiB152105

results.jsD03-May-20244.3 KiB11763

results_unittests.jsD03-May-20243.1 KiB8951

run-embedded-unittests.htmlD03-May-20243.1 KiB7947

run-unittests.htmlD03-May-20243.2 KiB7848

string.jsD03-May-20242.2 KiB6931

timeline_explorer.htmlD03-May-20243.2 KiB12179

timeline_explorer.jsD03-May-202419.1 KiB493363

treemap.htmlD03-May-20243.4 KiB12684

treemap.jsD03-May-20249 KiB293213

ui.jsD03-May-20248.4 KiB231161

ui_unittests.jsD03-May-20244 KiB8951

webtreemap.cssD03-May-20242.6 KiB7972

webtreemap.jsD03-May-20248 KiB243152

README.dygraph.txt

1dygraphs JavaScript charting library
2Copyright (c) 2006-, Dan Vanderkam.
3
4Support: http://groups.google.com/group/dygraphs-users
5Source: http://github.com/danvk/dygraphs
6Issues: http://code.google.com/p/dygraphs/
7
8
9The dygraphs JavaScript library produces produces interactive, zoomable charts of time series.
10
11Features
12- Plots time series without using an external server or Flash
13- Supports multiple data series
14- Supports error bands around data series
15- Displays values on mouseover
16- Interactive zoom
17- Adjustable averaging period
18- Customizable click-through actions
19- Compatible with the Google Visualization API
20
21Demo
22For a gallery and documentation, see http://danvk.org/dygraphs/
23
24Minimal Example
25<html>
26<head>
27<script type="text/javascript" src="dygraph-combined.js"></script>
28</head>
29<body>
30<div id="graphdiv"></div>
31<script type="text/javascript">
32  g = new Dygraph(
33        document.getElementById("graphdiv"),  // containing div
34        "Date,Temperature\n" +                // the data series
35        "2008-05-07,75\n" +
36        "2008-05-08,70\n" +
37        "2008-05-09,80\n"
38      );
39</script>
40</body>
41</html>
42
43License(s)
44dygraphs uses:
45 - rgbcolor.js (Public Domain)
46 - strftime.js (BSD License)
47 - excanvas.js (Apache License)
48 - YUI compressor (BSD License)
49
50rgbcolor: http://www.phpied.com/rgb-color-parser-in-javascript/
51strftime: http://tech.bluesmoon.info/2008/04/strftime-in-javascript.html
52excanvas: http://code.google.com/p/explorercanvas/
53yui compressor: http://developer.yahoo.com/yui/compressor/
54
55dygraphs is available under the MIT license, included in LICENSE.txt.
56

README.webtreemap.txt

1# webtreemap
2
3A simple treemap implementation using web technologies (DOM nodes, CSS
4styling and transitions) rather than a big canvas/svg/plugin.
5
6Play with a [demo][].
7
8[demo]: http://martine.github.com/webtreemap/demo/demo.html
9
10## Creating your own
11
121. Create a page with a DOM node (i.e. a `<div>`) that will contain
13   your treemap.
142. Add the treemap to the node via something like
15
16        appendTreemap(document.getElementById('mynode'), mydata);
173. Style the treemap using CSS.
18
19### Input format
20
21The input data (`mydata` in the overview snippet) is a tree of nodes,
22likely imported via a separate JSON file.  Each node (including the
23root) should contain data in the following format.
24
25    {
26      name: (HTML that is displayed via .innerHTML on the caption),
27      data: {
28        "$area": (a number, in arbitrary units)
29      },
30      children: (list of child tree nodes)
31    }
32
33(This strange format for data comes from the the [JavaScript InfoVis
34Toolkit][thejit].  I might change it in the future.)
35
36The `$area` of a node should be the sum of the `$area` of all of its
37`children`.
38
39(At runtime, tree nodes will dynamically will gain two extra
40attributes, `parent` and `dom`; this is only worth pointing out so
41that you don't accidentally conflict with them.)
42
43### CSS styling
44
45The treemap is constructed with one `div` per region with a separate
46`div` for the caption.  Each div is styleable via the
47`webtreemap-node` CSS class.  The captions are stylable as
48`webtreemap-caption`.
49
50Each level of the tree also gets a per-level CSS class,
51`webtreemap-level0` through `webtreemap-level4`.  These can be
52adjusted to e.g. made different levels different colors.  To control
53the caption on a per-level basis, use a CSS selector like
54`.webtreemap-level2 > .webtreemap-caption`.
55
56Your best bet is to modify the included `webtreemap.css`, which
57contains comments about required and optional CSS attributes.
58
59## Related projects
60
61* [JavaScript InfoVis Toolkit][thejit]
62
63[thejit]: http://thejit.org/