Comments (3)
Yep. I think you are right. I forgot to bump the version when I released it the other night. I will fix it later today. Sorry about that. It was my first release.
Chris
from angularjs-nvd3-directives.
Ok, I updated bower.json and package.json to the latest version which should handle the mismatch problem.
The EMALFORMED error is actually coming from nvd3. Their bower.json is not formatted correctly. They have updated it in github, but bower is still messed up. I have been wrestling with this for a bit now as well.
One way I have found to handle it is to use bower link
to link a local version of nvd3. Brian Ford talks about it in the blog post (http://briantford.com/blog/angular-bower.html).
But what happens if we find we need to change the directive in our component? Do we have to push a new version > of the component just to test it in the app? It turns out that Bower has a great feature for this case.
First, in the angular-my-component directory, run:
λ → bower link
In your application directory, run:
λ → bower link angular-my-component
What does this do? Basically, it creates a symbolic link from the angular-my-directive directory to the appropriate > directory inside of components for the app. Thus, when you make changes to the component, they'll be reflected ?> in your app. This is a great way to develop an app and a set of resuable components alongside each other.
Also, I usually have to clean the bower cache before I link.
Try this out and let me know if you have issues, etc.
Chris
from angularjs-nvd3-directives.
Ah - very nice - thanks for the good response. First try failed because I cloned nvd3 into my app/bower_components directory. But I realized that might be the problem, so I moved it to . For others that have similar problems with bower packages, here's how to link to local copies, using nvd3 as an example:
()-> git clone https://github.com/novus/nvd3.git
()-> cd nvd3/nvd3)-> bower link
(
bower link /Users/clayton/.local/share/bower/links/nvd3 > /Users/clayton/nvd3
(~/nvd3)-> cd /myApp/myApp)-> bower link nvd3
(
bower link /Users/clayton/myApp/app/bower_components/nvd3 > /Users/clayton/.local/share/bower/links/nvd3
Hopefully this will work. I get some warnings when I run 'bower list.'
from angularjs-nvd3-directives.
Related Issues (20)
- how to i18n
- Custom data field names for sunburst..?
- How to achieve horizontal interactive guide line in nvd3 charts
- Need a vertical scroll in multiBarHorizontalChart if no. of bars increases
- How to i get data when iam click on pie chart HOT 2
- Discretebar Chart HOT 1
- Is there a way to save the graph and/or all its data to an xml or xmls ?
- TypeError: nv.dispatch.render_start is not a function HOT 2
- Pie Chart Label Lines with angular-nvd3
- Cannot read property 'disabled' of undefined
- Wrap long axis labels
- TypeError: nv.dispatch.render_start is not a function HOT 1
- Tooltip Not Hide while clicking outside of chart element in IPAD Devices
- Gradient color
- Format of focus chart x axis in "lineWithFocusChart" HOT 2
- Interactive Guideline Not showing on all the data points
- Fixed Labels on xAxis
- When selecting/deselecting legends with multi lines on line chart the lines start showing incorrect colors
- Cannot output data to another component using angular 2 custom event @Output()
- Discrete Bar chart tooltip customize
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angularjs-nvd3-directives.