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

Example not working #581

Open
adriens opened this issue Sep 14, 2017 · 3 comments
Open

Example not working #581

adriens opened this issue Sep 14, 2017 · 3 comments

Comments

@adriens
Copy link

adriens commented Sep 14, 2017

Hi, i'm trying to use provided examples, but it looks like the tutorial is actually broken :

http://graphalchemist.github.io/Alchemy/#/examples

@adelaide01
Copy link

Seems to be working. Did you try clicking on the choices on the left?

@lhernandez-free
Copy link

lhernandez-free commented Jan 19, 2018

alchemy.min.css is not public, the basic example don't work. If library is downloaded them it can't access to d3 library. If you download d3 them alchemy.min.css get show this error

ReferenceError: _ is not defined alchemy.min.js:1:2593

b</b.prototype.setConf
file:///home/lahernandez/0.4.1/alchemy.min.js:1:2593
b</b.prototype.begin
file:///home/lahernandez/0.4.1/alchemy.min.js:1:2083
b
file:///home/lahernandez/0.4.1/alchemy.min.js:1:2017
<anónimo>
file:///home/lahernandez/0.4.1/page.html:14:19

This is my html file

<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> <script src="alchemy.min.js"></script> <script type="text/javascript"> var config = { dataSource: 'graph.json', };
    alchemy = new Alchemy(config)
</script>

I have graph.json in my localhost in same folder than html file.

@gq17
Copy link

gq17 commented Sep 18, 2018

don't forget to add the vendor.js(and the vendor.css) as said in the documentation @adriens @lhernandez-stratio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants