Skip to content

Commit

Permalink
Merge pull request #119 from redbearsam/refresh_screenshots
Browse files Browse the repository at this point in the history
refresh screenshots and update shares-template
  • Loading branch information
matt-hooper committed Mar 26, 2019
2 parents f78d1e7 + 4058fb1 commit 5b04105
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 65 deletions.
45 changes: 24 additions & 21 deletions packages/perspective-viewer-d3fc/test/html/shares-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,35 @@

<!DOCTYPE html>
<html>
<head>

<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
<script src="perspective.view.js"></script>
<script src="d3fc.plugin.js"></script>
<head>

<link rel='stylesheet' href="demo.css">
</head>
<body>
<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
<script src="perspective.view.js"></script>
<script src="d3fc.plugin.js"></script>

<perspective-viewer view="{view-name}" row-pivots='["Date"]' column-pivots='[]' filters='[]'
sort='[]' columns='["Open","Price","High","Low"]'
aggregates='{"Date":"distinct count","Change%":"sum","High":"sum","Low":"sum","Open":"sum","Price":"sum","Vol.":"sum"}'>
<link rel='stylesheet' href="demo.css">
</head>

</perspective-viewer>
<body>

<script>
<perspective-viewer view="{view-name}" row-pivots='["Date"]' column-pivots='[]' filters='[]' sort='[]'
columns='["Open","Close","High","Low"]'
aggregates='{"Date":"distinct count","Change%":"sum","High":"sum","Low":"sum","Open":"sum","Close":"sum","Vol.":"sum"}'>

var xhr = new XMLHttpRequest();
xhr.open('GET', 'shares.csv', true);
xhr.onload = function () {
document.getElementsByTagName('perspective-viewer')[0].load(xhr.response);
}
xhr.send(null);
</perspective-viewer>

</script>
<script>

</body>
</html>
var xhr = new XMLHttpRequest();
xhr.open('GET', 'shares.csv', true);
xhr.onload = function () {
document.getElementsByTagName('perspective-viewer')[0].load(xhr.response);
}
xhr.send(null);

</script>

</body>

</html>
88 changes: 44 additions & 44 deletions packages/perspective-viewer-d3fc/test/results/results.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"scatter.html/displays visible columns.": "ca9a2da7f3d7cd5edead17ddadfce123",
"line.html/shows a grid without any settings applied.": "b00b142ff7e18e638575da08f7ecf35b",
"line.html/pivots by a row.": "c1fe043a9ac329c9370a2da57c45552f",
"line.html/pivots by two rows.": "7b154b849751dbbc2f1e2eccb05c3408",
"line.html/shows a grid without any settings applied.": "156d4d4b96e95b4764701861846caafe",
"line.html/pivots by a row.": "878a4e0cbcd03e022efcf5ceb708f41f",
"line.html/pivots by two rows.": "517b6e07f59b615e2f23774fa5a1aec8",
"line.html/pivots by a column.": "8b721daec786e559a4791e2f054fc404",
"line.html/pivots by a row and a column.": "de8e09cb84d45c13f7a6387ec5af884c",
"line.html/pivots by two rows and two columns.": "e786f3c777a8869cdc86bc1eaa674698",
"line.html/sorts by a hidden column.": "0c655e3561961457fad2f89b821456b8",
"line.html/sorts by a numeric column.": "167f35bc4824bcae166f78615401b3e3",
"line.html/filters by a numeric column.": "375c04cb1122179f02c93dc42c670f4a",
"line.html/filters by a datetime column.": "5a25daf62699c8c4a2e74a6fa5d81b9e",
"line.html/highlights invalid filter.": "85b448942da3bbe558178073a6c7fc48",
"line.html/sorts by an alpha column.": "461b6e3b787561ef9c9504dc5bf18b4c",
"line.html/sorts by a numeric column.": "78a29c30e705cdc36c830d5b37e88124",
"line.html/filters by a numeric column.": "d7683495c94335e08a87a78315b30606",
"line.html/filters by a datetime column.": "1ac8300dae9ffe933d8f803c9a6c6bfd",
"line.html/highlights invalid filter.": "dd6273e14a5e1d373545e332320f0869",
"line.html/sorts by an alpha column.": "bd413cd3ed5f12fa3d101fc846ac9575",
"line.html/displays visible columns.": "4b88649a00cb01db88fdec150b582a3c",
"bar.html/shows a grid without any settings applied.": "91323aaac82056b350217556dfab9fa0",
"bar.html/pivots by a row.": "3dfd1ffb52293122fc3a045034fcc48b",
"bar.html/pivots by two rows.": "9a4cda75e1fac4960e0d2280be9d5bbe",
"bar.html/shows a grid without any settings applied.": "d00de230f6aed149a6619a75eae91924",
"bar.html/pivots by a row.": "ea1947db0dd801b901cb740d78c7f9ac",
"bar.html/pivots by two rows.": "a41a968f743a70fa67205a4dbeb07362",
"bar.html/pivots by a column.": "b16e0ff832575bfcd0951f29f7b41ac1",
"bar.html/pivots by a row and a column.": "3c528e5025144f298502e6f7098c45e9",
"bar.html/pivots by two rows and two columns.": "24d976fabac935b9ecfce239e37080e3",
"bar.html/sorts by a hidden column.": "70d7625e1c9ca5e1e4b23d3553be2e1a",
"bar.html/sorts by a numeric column.": "59280170c00a6e84b46e6a699110cee9",
"bar.html/filters by a numeric column.": "6c9f294496677f00700653c7cbf182df",
"bar.html/filters by a datetime column.": "3600071bd8b1d4636c19452a58727a31",
"bar.html/highlights invalid filter.": "01cbc52a89d4b9f93fe614262a5e343b",
"bar.html/sorts by an alpha column.": "48a661f09545883ca35b46b1e282c2d9",
"bar.html/sorts by a numeric column.": "ee237e8f7aea6dc3bffbdd20ffef9c4f",
"bar.html/filters by a numeric column.": "c9b2b383850324dfdb556e1509419c3e",
"bar.html/filters by a datetime column.": "4439860f92e601853ccab5b3e2fcfad6",
"bar.html/highlights invalid filter.": "f5926d74fc0b9ab091b055879112ac5a",
"bar.html/sorts by an alpha column.": "5df50deb9263f0fdae9806014e4a66d9",
"bar.html/displays visible columns.": "8f84891902dd7e07dbbcfc96eb1a3fe1",
"scatter.html/shows a grid without any settings applied.": "0424867aec4a72628c3a09af275a9c61",
"scatter.html/pivots by a row.": "cb07b268880955c2afc621737c835958",
Expand All @@ -38,31 +38,31 @@
"scatter.html/filters by a datetime column.": "ac0a52991f98a9f922f0df6fa6976f3a",
"scatter.html/highlights invalid filter.": "db0b88d84e559975a100179ad1b313df",
"scatter.html/sorts by an alpha column.": "d29c7922fe86891f65d491fc4c625d5d",
"bar-x.html/shows a grid without any settings applied.": "1ad49feb5651586b31fa7fffbd6d8ad0",
"bar-x.html/pivots by a row.": "f439a439b1f25a9ddc5da08647a88eb5",
"bar-x.html/pivots by two rows.": "413b92f389acc15ca43f193405abb9e9",
"bar-x.html/shows a grid without any settings applied.": "4413e9006a9296d6ab42db93ae4c52ea",
"bar-x.html/pivots by a row.": "c6b5f172230edff664688c459e5dcb32",
"bar-x.html/pivots by two rows.": "978646b6fa69db583087dca978926c7b",
"bar-x.html/pivots by a column.": "f604ed7e4dbad3267ab357d7a2d2b884",
"bar-x.html/pivots by a row and a column.": "33081f5c799607ac3ab36cf9866005c6",
"bar-x.html/pivots by two rows and two columns.": "2d5ecb5512b4f5d8468492a1a2782049",
"bar-x.html/sorts by a hidden column.": "d8ca2f614888d3c8da11ec85437f9b65",
"bar-x.html/sorts by a numeric column.": "c27a48f5e36c7377ba15bbeefdc18dcf",
"bar-x.html/filters by a numeric column.": "ce73b38e9f5c4a8243c374d5055d8845",
"bar-x.html/filters by a datetime column.": "2234a46ee22973ad159ffc84b248b1eb",
"bar-x.html/highlights invalid filter.": "cdd1c931fe67b45443d8b25585260b82",
"bar-x.html/sorts by an alpha column.": "bc76c452e03754e6380f2d2ca9c22621",
"bar-x.html/sorts by a numeric column.": "990a4c6667519c0bf54473ff446bcb3f",
"bar-x.html/filters by a numeric column.": "4500c242e821c1e73495e455a83edb7e",
"bar-x.html/filters by a datetime column.": "217ed4fd03817bfbc4b8323d43d0ec4d",
"bar-x.html/highlights invalid filter.": "48de0ba7d2405fa707cf9694d2e1e282",
"bar-x.html/sorts by an alpha column.": "d7326b9ac7a26cf81b825accc6ddc4d7",
"bar-x.html/displays visible columns.": "f5f5df574f4188d20aae2e7045703b70",
"bar-themed.html/shows a grid without any settings applied.": "b955e9c152775bbf10699cccccea7b36",
"bar-themed.html/pivots by a row.": "2f83c1c9ff3e35ea1f7ab08adf011a75",
"bar-themed.html/pivots by two rows.": "f3562f11d1f4545b1bdbbb1e4f3b8e88",
"bar-themed.html/shows a grid without any settings applied.": "b09ca162b7080cd8f74f8e3ad31d5f87",
"bar-themed.html/pivots by a row.": "befc95fb89874dc3c21a841e6124897d",
"bar-themed.html/pivots by two rows.": "d5d7954433c54ccde462dfd6314880f4",
"bar-themed.html/pivots by a column.": "6bbbc14b130bcf27081addfe3d411d39",
"bar-themed.html/pivots by a row and a column.": "20a2ecdbbd5fba6874ed0ba92db5a758",
"bar-themed.html/pivots by two rows and two columns.": "1af0e44c6adb6c62469271a8987fde99",
"bar-themed.html/sorts by a hidden column.": "c065e49c2f2551819adff3e7371dcce7",
"bar-themed.html/sorts by a numeric column.": "461bc0b359c0b6f2f29311d6e2416af4",
"bar-themed.html/filters by a numeric column.": "6d5068df395b46e01ca377770188d9cc",
"bar-themed.html/filters by a datetime column.": "64a683de97e2395ff11462c7b5dd504c",
"bar-themed.html/highlights invalid filter.": "a6a2e01e2e0023027b24dab5adfb20de",
"bar-themed.html/sorts by an alpha column.": "cdedc0c5bcfc513e467bb7e7eb6f4506",
"bar-themed.html/sorts by a numeric column.": "4e0a1ea16d4b77e666f164f92b8a3b12",
"bar-themed.html/filters by a numeric column.": "9a0086552bc1abd4200601e3593a1cb0",
"bar-themed.html/filters by a datetime column.": "2b70fc5fdfbc8671261e79eb9b098c2a",
"bar-themed.html/highlights invalid filter.": "98a5da14a24274287b3dd00f41e048ea",
"bar-themed.html/sorts by an alpha column.": "a3ba3564cddf80f08e1f608b15408de4",
"bar-themed.html/displays visible columns.": "d557ea231bcfbdc548540a4c9bc976b8",
"yscatter.html/shows a grid without any settings applied.": "329bf07c3d6b595d2f70d1e63a0cd2f0",
"yscatter.html/pivots by a row.": "4ea6694a9c0947850ad8e88c1a9649bb",
Expand All @@ -77,18 +77,18 @@
"yscatter.html/highlights invalid filter.": "af5076c5ece1b26581b0512741e6e433",
"yscatter.html/sorts by an alpha column.": "6d9da025e39df005d5b5eb3c9a18040c",
"yscatter.html/displays visible columns.": "26249945da9ec1663aa47a1ccc7e3412",
"area.html/shows a grid without any settings applied.": "fc2deb78f96b82e658bba76b13ce94d0",
"area.html/pivots by a row.": "cf964ec135fd52bd3282cfeb9c143bfb",
"area.html/pivots by two rows.": "3a73ae20c58cc6312e603241fb850b7a",
"area.html/shows a grid without any settings applied.": "8c4943f1fa544c2b160d9f35e1638447",
"area.html/pivots by a row.": "053a0cfe5541b0f50e395a3c716d75e8",
"area.html/pivots by two rows.": "1c8f241cb2a65dc657e0b7e7d0f8bc10",
"area.html/pivots by a column.": "03797f3a11ac26837a239c1b27cd1c3b",
"area.html/pivots by a row and a column.": "5b623ed2a9d67c6d539477a2947e2ce2",
"area.html/pivots by two rows and two columns.": "11a6a94d46101d6d8c89724a82ada056",
"area.html/sorts by a hidden column.": "4b84514dd4f924b405be5f0a2e206396",
"area.html/sorts by a numeric column.": "f2a9608c31336c1940dfa7dc0525a409",
"area.html/filters by a numeric column.": "d7791aeeef60d955d17c4673a7f4d67d",
"area.html/filters by a datetime column.": "81927c3de107781bfb89c0c9d237c3e3",
"area.html/highlights invalid filter.": "6ea59666f6030d2d646386f550760eaf",
"area.html/sorts by an alpha column.": "4b240611c72feda81043a9140174f050",
"area.html/sorts by a numeric column.": "02e39a88d8828313445dff9ddbdecadf",
"area.html/filters by a numeric column.": "8d2a58f129c59aa78e3d51f6cf6c7693",
"area.html/filters by a datetime column.": "b6778f723c4a64e7dcdf81a1ad2f02e9",
"area.html/highlights invalid filter.": "12353e9b69e92b8ac31b3117d57484c1",
"area.html/sorts by an alpha column.": "b5b4bb0defd5d76d0984b6862e5fcbd2",
"area.html/displays visible columns.": "992fe96f6920748310abd45b752f2d32",
"heatmap.html/shows a grid without any settings applied.": "d11a97a931740b6a45983568b7d8acbe",
"heatmap.html/pivots by a row.": "2615b96787c6aa8e15ae43f629e6608a",
Expand All @@ -103,8 +103,8 @@
"heatmap.html/highlights invalid filter.": "d01bd4fb9e9e4005a946c90aaaddb57e",
"heatmap.html/sorts by an alpha column.": "9edf7f90f0b5cb72edb395f3c3420db9",
"heatmap.html/displays visible columns.": "76526dd190fae821de1bc873fccbb8fc",
"candlestick.html/filter to date range.": "f6133dbe371bc49945608afff45d5596",
"candlestick.html/filter by a single instrument.": "9a02826762433f80500cbb079f3fb9bc",
"ohlc.html/filter by a single instrument.": "2c23d267ab67d7c4d25bf04231537275",
"ohlc.html/filter to date range.": "31b348678e56ef571f10f0b7697f2767"
"candlestick.html/filter to date range.": "609fb900bb0ef5bbc8d98ab476abfd50",
"candlestick.html/filter by a single instrument.": "36d43f5905d6e74cc622ee6d7be44894",
"ohlc.html/filter by a single instrument.": "94d24188a2839ce1bd0b1dec71d20f33",
"ohlc.html/filter to date range.": "3313f803361d232b1180e32b9a5d8c17"
}

0 comments on commit 5b04105

Please sign in to comment.