Comments (4)
Take a look at forcex and forcey attributes.
http://cmaurer.github.io/angularjs-nvd3-directives/line.chart.html
from angularjs-nvd3-directives.
thanks, i've tried with forcey="[0,maxValue]" and different combinations but the view didn't change
so thats why i've tried to setup a plunker, well it's my first one and it doesn't work at all.
http://plnkr.co/edit/RHKSC6VjRBEGuw1RxIOk?p=preview
well maybe i'll give it another try later
from angularjs-nvd3-directives.
@fopsdev
A couple of things.
-
In your controller, you created the vm object and associated it to 'this'. But 'this' is not the scope, so it was not visible to the directive. I added a line to associate vm to the scope
$scope.vm = vm
and the directive was able to see the data.
http://plnkr.co/edit/Aw1NQZmcU7vhRRYwzeS7?p=preview -
I added the code to the directive for forcex and forcey and pushed it. You should be able to use it now on this chart.
-
This is a chart that is in the directives, but I may not have finished enabling everything. You are blazing a trail here. You will most likely encounter more with this chart, so please do not hesitate to let me know if you encounter more issues.
Thanks,
Chris
from angularjs-nvd3-directives.
well what should i say? thanks a lot for your help, that was amazingly quick!
looks like this specific issue is nailed. lets explore the trail a little more :)
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.