Comments (12)
This appears to be in the source -- is there more to do?
It appears to work, although I have an issue with the x-axis labels on the focus element, but I haven't dug into it fully so it might be an option that I'm neglecting.
from angularjs-nvd3-directives.
can you plnkr or post your example?
from angularjs-nvd3-directives.
The issue is that the focus element's x-axis isn't using my xAxisTickFormat
attribute / method, though it is for the main line chart. I'll plnkr it up if you need more info.
from angularjs-nvd3-directives.
Please. That will help me see whats happening.
from angularjs-nvd3-directives.
Here you go:
http://plnkr.co/edit/MQR0VHSivGtQAIxwhOkn?p=preview
Notice the x-axis for the line chart is formatted as m/d/y, but in the focus area it is unformatted.
from angularjs-nvd3-directives.
Apparently I left out the x2Axis attributes completely. I haven't finished implementing this one yet (high-maintenance wife and 3 kids). Is this something you need immediately?
from angularjs-nvd3-directives.
It was actually quicker that I thought. Just pushed the x2Axis configuration and updated the example in the examples directory.
from angularjs-nvd3-directives.
Nah, no rush....I hacked the code with this and it's working for my needs:
chart.x2Axis.tickFormat(function(d){ return d3.time.format('%-m/%-d/%y')(new Date(d)); });
Thanks for the quick attention to the matter though! I tried to implement x2Axis properly, but there's clearly some things I don't understand about the conventions yet because I couldn't get it to work.
from angularjs-nvd3-directives.
Oh sweet, so quick I missed the GH notification that you'd replied again. Thanks!!
from angularjs-nvd3-directives.
No worries. It was quick, let me know if you encounter anything.
Thanks,
Chris
from angularjs-nvd3-directives.
How can I display line plus chart WITHOUT focus? It seems that when I set the type to linePlusBarChart it will always display the chart with focus.
from angularjs-nvd3-directives.
Is there a way to remove focus chart from line plus bar chart?
Thank you in advance
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.