Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump bower from 1.8.2 to 1.8.8 in /polymer-old/charts/components/font-roboto #2

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
13 changes: 13 additions & 0 deletions data-provider/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>

<head>
<meta http-equiv="Refresh" content="2; url=//epivizfileparser.readthedocs.io/en/latest/" />
</head>

<body>
<p>If the browser does not automatically redirect the page, Please click <a
href="//epivizfileparser.readthedocs.io/en/latest/">this link</a>.</p>
</body>

</html>
6 changes: 5 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,11 @@ <h3>Publications</h3>

<div class="row">
<ul>

<li>Kancherla J, Zhang A, Gottfried B and Bravo HC. (2018) Epiviz Web Components: reusable and extensible component library to visualize functional genomic datasets.
<a href="https://dx.doi.org/10.12688/f1000research.15433.1">F1000 Research</a>
</li>


<li>Wagner, J., Chelaru, F., Kancherla, J., Paulson, JN., Felix, V., Mahurkar, A., Corrada Bravo, H. (2018). “Metaviz: interactive statistical and visual analysis of metagenomic data”.
<a href="https://doi.org/10.1093/nar/gky136">Nucleic Acids Research</a>
</li>
Expand Down
6 changes: 3 additions & 3 deletions polymer-old/charts/components/font-roboto/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion polymer-old/charts/components/font-roboto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"homepage": "https://github.com/PolymerElements/font-roboto/",
"devDependencies": {
"@polymer/gen-typescript-declarations": "^1.1.1",
"bower": "^1.8.0"
"bower": "^1.8.8"
},
"scripts": {
"update-types": "bower install && gen-typescript-declarations --deleteExisting --outDir ."
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"extends": ["eslint:recommended", "google"],
"parserOptions": {
"ecmaVersion": 6
},
"env": {
"browser": true
},
"plugins": ["html"],
"rules": {
"brace-style": "off",
"new-cap": ["error", { "capIsNewExceptions": ["Polymer"] }],
"no-var": "off",
"require-jsdoc": "off"
},
"globals": {
"Polymer": true
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
bower_components/
node_modules/
.vscode/
data__
performance/node_modules/
performane/screenshots/
.DS_Store
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Installation

`bower install epiviz/epiviz-chart`

# Documentation

run a local instance of polymer-server
`polymer serve`

Then navigate to http://localhost:8080/components/epiviz-chart/

# Demo

run a local instance of polymer-server
`polymer serve`

Then navigate to http://localhost:8080/components/epiviz-chart/demo/


# Update chartSettings:

```
# get chart
chart = document.querySelector("#chart1");
# get current chart settings
currentSettings = chart.ChartSettings;
# modify chart settings
...

# set settings back to chart
chart.setAttribute("chart-settings", JSON.stringify(currentSettings));
```

# Epiviz-environment

### must use polymer api to add charts to environment. Js dom api does not properly initialize elements

for example

if the page contains

```
<epiviz-environment id="env">
</epiviz-environment>
```

to add an epiviz chart for example line-track.

# create a new element
```
elem = document.createElement('epiviz-scatter-plot');
elem.dimS = ['affy1', 'affy2'];
elem.className="charts"
```

# query dom for environment
`ot = document.querySelector('#env')`

# add chart
`Polymer.dom(ot).appendChild(elem)`


# Optimize elements for productions.
```
npm install -g polymer-bundler

polymer-bundler --inline-scripts --inline-css --strip-comments epiviz-charts.html > dist/epiviz-charts.html
```



Loading