Skip to content

Commit

Permalink
D3FC is the default chart plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
texodus committed May 27, 2019
1 parent 1f3c718 commit d9bc98e
Show file tree
Hide file tree
Showing 23 changed files with 25 additions and 30 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ simple to build real-time & user configurable analytics entirely in the browser.
host for responsiveness at high frequency.

- A suite of simple visualization plugins for some common Javascript libraries such as
[d3fc](https://d3fc.io/), [Hypergrid](https://github.com/fin-hypergrid/core) and
[HighCharts](https://github.com/highcharts/highcharts).
[d3fc](https://d3fc.io/) and [Hypergrid](https://github.com/fin-hypergrid/core).

- Integration with [Jupyterlab](https://github.com/finos/perspective/tree/master/packages/perspective-jupyterlab).

Expand Down
1 change: 0 additions & 1 deletion docs/md/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ CDN by simply adding these scripts to your `.html`'s `<head>` section:
<script src="https://unpkg.com/@finos/perspective-viewer"></script>
<script src="https://unpkg.com/@finos/perspective-viewer-hypergrid"></script>
<script src="https://unpkg.com/@finos/perspective-viewer-d3fc"></script>
<script src="https://unpkg.com/@finos/perspective-viewer-highcharts"></script>
```

Ultimately, for production you'll want Perspective incorporated directly into your
Expand Down
5 changes: 3 additions & 2 deletions docs/md/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ themselves automatically, and the renderers they export will be available in the

- `@finos/perspective-viewer-highcharts`
A `<perspective-viewer>` plugin for [HighCharts](https://github.com/highcharts/highcharts).
This plugin has a dependency on Highcharts' [mixed commercial license](https://creativecommons.org/licenses/by-nc/3.0/).
This plugin has a dependency on Highcharts' [mixed commercial license](https://creativecommons.org/licenses/by-nc/3.0/),
and is no longer under active development.

Depending on your requirements, you may need just one, or all Perspective modules.
Some basic guidelines to help you decide what is most appropriate for your
Expand All @@ -63,7 +64,7 @@ project:
data visualization widget, you probably only need the
`@finos/perspective-viewer` module and optionally its plugins
`@finos/perspective-viewer-hypergrid` for data grids, and
`@finos/perspective-viewer-d3fc` or `@finos/perspective-viewer-highcharts`
`@finos/perspective-viewer-d3fc`
for charting. The core data engine `@finos/perspective` is a
depedency of these packages and does not need to be imported on its own for
basic usage. Details for these can be found [here](#perspective-viewer-web-component).
Expand Down
4 changes: 2 additions & 2 deletions examples/git_history/chained.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<script src="perspective.view.js"></script>
<script src="hypergrid.plugin.js"></script>
<script src="highcharts.plugin.js"></script>
<script src="d3fc.plugin.js"></script>

<script src="perspective.js"></script>

Expand All @@ -29,7 +29,7 @@

<perspective-viewer
id="view1"
view="y_area"
view="d3_y_area"
row-pivots='["week_bucket(Date)"]'
column-pivots='["Email"]'
columns='["Hash"]'
Expand Down
4 changes: 2 additions & 2 deletions examples/git_history/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<script src="perspective.view.js"></script>
<script src="hypergrid.plugin.js"></script>
<script src="highcharts.plugin.js"></script>
<script src="d3fc.plugin.js"></script>

<script src="perspective.js"></script>

Expand All @@ -29,7 +29,7 @@

<perspective-viewer
id="view1"
view="y_area"
view="d3_y_area"
row-pivots='["week_bucket(Date)"]'
column-pivots='["Email"]'
columns='["Hash"]'
Expand Down
2 changes: 1 addition & 1 deletion examples/git_history/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@finos/perspective": "^0.3.0-rc.2",
"@finos/perspective-viewer": "^0.3.0-rc.2",
"@finos/perspective-viewer-highcharts": "^0.3.0-rc.2",
"@finos/perspective-viewer-d3fc": "^0.3.0-rc.2",
"@finos/perspective-viewer-hypergrid": "^0.3.0-rc.2"
}
}
2 changes: 1 addition & 1 deletion examples/remote/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<script src="perspective.js"></script>

<link rel='stylesheet' href="index.css">
<link rel='stylesheet' href="material.css">
<link rel='stylesheet' href="material.dark.css">

</head>

Expand Down
2 changes: 1 addition & 1 deletion examples/remote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@finos/perspective": "^0.3.0-rc.2",
"@finos/perspective-viewer": "^0.3.0-rc.2",
"@finos/perspective-viewer-highcharts": "^0.3.0-rc.2",
"@finos/perspective-viewer-d3fc": "^0.3.0-rc.2",
"@finos/perspective-viewer-hypergrid": "^0.3.0-rc.2"
}
}
4 changes: 2 additions & 2 deletions examples/simple/citibike.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<script src="perspective.js"></script>
<script src="perspective.view.js"></script>
<script src="hypergrid.plugin.js"></script>
<script src="highcharts.plugin.js"></script>
<script src="d3fc.plugin.js"></script>

<script src="perspective.js"></script>

Expand Down Expand Up @@ -73,7 +73,7 @@
sort='[["num_bikes_available","desc"]]'>
</perspective-viewer>
<perspective-viewer
view='xy_scatter'
view='d3_xy_scatter'
row-pivots='["name"]'
columns='["lon","lat","num_bikes_available"]'
sort='[["num_bikes_available","asc"]]'>
Expand Down
2 changes: 1 addition & 1 deletion examples/simple/csv.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<script src="perspective.view.js"></script>
<script src="hypergrid.plugin.js"></script>
<script src="highcharts.plugin.js"></script>
<script src="d3fc.plugin.js"></script>

<script src="perspective.js"></script>
<script src="csv.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions examples/simple/linked.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<script src="perspective.view.js"></script>
<script src="hypergrid.plugin.js"></script>
<script src="highcharts.plugin.js"></script>
<script src="d3fc.plugin.js"></script>

<script src="perspective.js"></script>

Expand Down Expand Up @@ -54,7 +54,7 @@

</perspective-viewer>

<perspective-viewer view="sunburst" row-pivots='["Sub-Category","Region","Segment"]' sort='[["Profit","desc"]]' columns='["Sales", "Profit"]'>
<perspective-viewer view="d3_sunburst" row-pivots='["Sub-Category","Region","Segment"]' sort='[["Profit","desc"]]' columns='["Sales", "Profit"]'>

</perspective-viewer>

Expand Down
2 changes: 1 addition & 1 deletion examples/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@finos/perspective": "^0.3.0-rc.2",
"@finos/perspective-viewer": "^0.3.0-rc.2",
"@finos/perspective-viewer-highcharts": "^0.3.0-rc.2",
"@finos/perspective-viewer-d3fc": "^0.3.0-rc.2",
"@finos/perspective-viewer-hypergrid": "^0.3.0-rc.2"
}
}
2 changes: 1 addition & 1 deletion examples/simple/streaming.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<script src="perspective.view.js"></script>
<script src="hypergrid.plugin.js"></script>
<script src="highcharts.plugin.js"></script>
<script src="d3fc.plugin.js"></script>

<script src="perspective.js"></script>
<script src="streaming.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions examples/simple/superstore-arrow.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<script src="perspective.view.js"></script>
<script src="hypergrid.plugin.js"></script>
<script src="highcharts.plugin.js"></script>
<script src="d3fc.plugin.js"></script>

<script src="perspective.js"></script>

Expand All @@ -28,7 +28,7 @@

<body>

<perspective-viewer view="sunburst" row-pivots='["Sub-Category","Region","Segment"]' sort='[["Profit","desc"]]' columns='["Sales", "Profit"]'>
<perspective-viewer view="d3_sunburst" row-pivots='["Sub-Category","Region","Segment"]' sort='[["Profit","desc"]]' columns='["Sales", "Profit"]'>

</perspective-viewer>

Expand Down
2 changes: 1 addition & 1 deletion examples/webpack/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require("./index.less");

require("@finos/perspective-viewer");
require("@finos/perspective-viewer-hypergrid");
require("@finos/perspective-viewer-highcharts");
require("@finos/perspective-viewer-d3fc");

window.addEventListener("WebComponentsReady", () => {
const worker = perspective.worker();
Expand Down
2 changes: 1 addition & 1 deletion examples/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"@finos/perspective": "^0.3.0-rc.2",
"@finos/perspective-viewer": "^0.3.0-rc.2",
"@finos/perspective-viewer-highcharts": "^0.3.0-rc.2",
"@finos/perspective-viewer-d3fc": "^0.3.0-rc.2",
"@finos/perspective-viewer-hypergrid": "^0.3.0-rc.2"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/perspective-bench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"@finos/perspective": "^0.3.0-rc.2",
"@finos/perspective-viewer": "^0.3.0-rc.2",
"@finos/perspective-viewer-d3fc": "^0.3.0-rc.2",
"@finos/perspective-viewer-highcharts": "^0.3.0-rc.2",
"@finos/perspective-viewer-hypergrid": "^0.3.0-rc.2"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/perspective-bench/src/html/benchmark.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

<script src="perspective.view.js"></script>
<script src="hypergrid.plugin.js"></script>
<script src="highcharts.plugin.js"></script>
<script src="d3fc.plugin.js"></script>

<link rel='stylesheet' href="index.css">
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dependencies": {
"@finos/perspective": "^0.3.0-rc.2",
"@finos/perspective-viewer": "^0.3.0-rc.2",
"@finos/perspective-viewer-highcharts": "^0.3.0-rc.2",
"@finos/perspective-viewer-d3fc": "^0.3.0-rc.2",
"@finos/perspective-viewer-hypergrid": "^0.3.0-rc.2",
"commander": "^2.19.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-cli/src/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<script src="perspective.view.js"></script>
<script src="hypergrid.plugin.js"></script>
<script src="highcharts.plugin.js"></script>
<script src="d3fc.plugin.js"></script>
<script src="perspective.js"></script>
<link rel='stylesheet' href="material.css">

Expand Down
1 change: 0 additions & 1 deletion packages/perspective-phosphor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"@finos/perspective": "^0.3.0-rc.2",
"@finos/perspective-viewer": "^0.3.0-rc.2",
"@finos/perspective-viewer-d3fc": "^0.3.0-rc.2",
"@finos/perspective-viewer-highcharts": "^0.3.0-rc.2",
"@finos/perspective-viewer-hypergrid": "^0.3.0-rc.2",
"@phosphor/application": "^1.5.0",
"@phosphor/widgets": "^1.6.0"
Expand Down
1 change: 0 additions & 1 deletion packages/perspective-phosphor/src/ts/widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
/* perspective components */
import "@finos/perspective-viewer";
import "@finos/perspective-viewer-hypergrid";
import "@finos/perspective-viewer-highcharts";
import "@finos/perspective-viewer-d3fc";

import { Message } from '@phosphor/messaging';
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective/bench/html/delta_benchmark.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<script src="perspective.view.js"></script>
<script src="hypergrid.plugin.js"></script>
<script src="highcharts.plugin.js"></script>
<script src="d3fc.plugin.js"></script>

<link rel='stylesheet' href="index.css">
<link rel='stylesheet' href="material.css" is="custom-style">
Expand Down

0 comments on commit d9bc98e

Please sign in to comment.