We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I have the following input data for a bars graph but for some reason the bars only display in one column:
menuItemStockCount: [ { x: 0, y: 200 }, { x: 1, y: 154 }, { x: 2, y: 130 }, { x: 3, y: 300 } ]
My code in my .hbs file to display the graph is:
{{#nf-graph width=500 height=300 paddingRight=10 paddingTop=10 xScaleType="ordinal" yMinMode="fixed" yMin=0 showLanes=true showFrets=true }} {{#nf-graph-content}} {{nf-bars data=model.menuItemStockCount trackingMode="snap-last" trackedData=tracked}} {{/nf-graph-content}} {{#nf-y-axis as |tick|}} <text>{{tick.value}}</text> {{/nf-y-axis}} {{#nf-x-axis as |tick|}} <text>{{tick.value}}</text> {{/nf-x-axis}} {{/nf-graph}} <text>{{tracked.x}} {{tracked.y}}</text>
Am I just doing something wrong?
The text was updated successfully, but these errors were encountered:
What version of nf-graph are you on? Latest?
Sorry, something went wrong.
Hi yes I am on the lastest version of nf-graphs. An image of the current graph is:
Okay, thanks, I'll take a look. Strange that we're not seeing this issue yet...
2a27b31
Merge pull request #68 from blesh/bars-fix
a000124
fix #59 - ensure domains are set before getting scales
No branches or pull requests
Hi, I have the following input data for a bars graph but for some reason the bars only display in one column:
My code in my .hbs file to display the graph is:
Am I just doing something wrong?
The text was updated successfully, but these errors were encountered: