Skip to content

Commit

Permalink
add fetch & promise polyfills to all examples for IE
Browse files Browse the repository at this point in the history
fixes #1507
  • Loading branch information
gordonwoodhull committed Dec 7, 2018
1 parent 0bf2be2 commit b6bb3b2
Show file tree
Hide file tree
Showing 76 changed files with 152 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/ep/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
</head>
<body>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/adjustable-threshold.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<title>dc.js - Adjustable Threshold Example</title>
<link type="text/css" rel="stylesheet" href="../css/dc.css"/>
<link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css">
<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js" ></script>
<script type="text/javascript" src="../js/crossfilter.js" ></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/align-axes.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@
</style>
</head>
<body>
<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/area.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<script type="text/javascript" src="header.js"></script>
<div id="test"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/bar-extra-line.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
<p>It would be nice to have better support in
dc.js for such "derived" values, but this example is here to tide folks over until that happens.</p>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/bar-single-select.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
</div>
</div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<script type="text/javascript" src="header.js"></script>
<div id="test"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/boxplot-basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
<div id="box-test"></div>
<div id="pie-chart"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/boxplot-enhanced.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ <h6><u>Enhanced</u></h6>
<u>showOutliers</u> (<b><i>true</i></b>/false), <u>boldOutlier</u> (<b><i>true</i></b>/false)</p>
</div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/boxplot-render-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ <h6>dataOpacity = 0.4<br/>dataWidthPortion = 0.1</h6>
</div>
</div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/boxplot-time.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
<div id="box-test"></div>
<div id="pie-chart"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/cbox-menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
<div id="datatable"></div>


<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/complex-reduce.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ <h4>Experiment</h4>
</div>
</div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/composite-bar-line.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
<script type="text/javascript" src="header.js"></script>
<div id="test_composed"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/composite-brush-multi-dim.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
<div id="test1"></div>
<div id="test2"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/composite.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<script type="text/javascript" src="header.js"></script>
<div id="test_composed"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/download-table.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
</div>


<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/filter-stacks.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
</div>
</div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/filtering-removing.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
<div id="chart-hist-spend"></div>
<div id="chart-row-spenders"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/filtering.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
</div>
</div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/focus-dynamic-interval.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
<div id="range-chart"></div>


<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/heat.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
<h2>Michelson–Morley experiment</h2>
<div id="test"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/heatmap-filtering.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ <h2>Nasdaq 100 Percentage Gain by Month of Year</h2>
<div id="heatmap"></div>
<div id="barchart"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/html-legend.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
<div id="name-legend" class="dc-html-legend-container"></div>
</div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/line.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<script type="text/javascript" src="header.js"></script>
<div id="test"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/multi-focus.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
<div id="test3"></div>
<div id="test4"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/multi-scatter.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<script type="text/javascript" src="header.js"></script>
<div id="test"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/number.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
<div id="number-box"></div>


<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/ordinal-bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<script type="text/javascript" src="header.js"></script>
<div id="test"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/ordinal-line.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<script type="text/javascript" src="header.js"></script>
<div id="test"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/pie-external-labels.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<script type="text/javascript" src="header.js"></script>
<div id="test"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/pie.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<script type="text/javascript" src="header.js"></script>
<div id="test"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/range-series.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
<div id="test"></div>
<div id="test-overview"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/replacing-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
<link rel="stylesheet" type="text/css" href="http://dc-js.github.io/dc.js/css/dc.css"/>
<div class="container">
<script type="text/javascript" src="header.js"></script>
<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="http://dc-js.github.io/dc.js/js/d3.js"></script>
<script type="text/javascript" src="http://dc-js.github.io/dc.js/js/crossfilter.js"></script>
<script type="text/javascript" src="http://dc-js.github.io/dc.js/js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/right-axis.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
</div>
<div id="monthly-move-chart"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/row-top-axis.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<script type="text/javascript" src="header.js"></script>
<div id="test"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/row-vertical-line.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<script type="text/javascript" src="header.js"></script>
<div id="test"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/row.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<script type="text/javascript" src="header.js"></script>
<div id="test"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/scatter-brushing.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
<div id="test1"></div>
<div id="test2"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/scatter-series.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<script type="text/javascript" src="header.js"></script>
<div id="test"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/scatter.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<script type="text/javascript" src="header.js"></script>
<div id="test"></div>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/select.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
<div id="datatable"></div>


<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/series.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
<button class="btn" onclick="button2()">2</button>
<button class="btn" onclick="button3()">3</button>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
2 changes: 2 additions & 0 deletions web/examples/sparkline.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
<h3>Sparklines</h3>
<p>A sparkline <span id="bartest"></span> is just a tiny chart that fits in to the flow of text. We can achieve this by using a <code>span</code> instead of a <code>div</code>, and making the dimensions really small. They will work well for any chart with a large x:y aspect ratio, like a line chart <span id="linetest"></span> or a bar chart but other kinds of charts probably won't work so well. We'll also use a little bit of custom CSS to hide the axes (see <a href="https://github.com/dc-js/dc.js/blob/develop/web/examples/sparkline.html">the source</a> for details).</p>

<script type="text/javascript" src="../js/promise-polyfill.js"></script>
<script type="text/javascript" src="../js/fetch.umd.js"></script>
<script type="text/javascript" src="../js/d3.js"></script>
<script type="text/javascript" src="../js/crossfilter.js"></script>
<script type="text/javascript" src="../js/dc.js"></script>
Expand Down
Loading

0 comments on commit b6bb3b2

Please sign in to comment.