Value on histogram
Hi guys, i'm a new user of Nodebox and i'm really happy i found it. I've a simple question for you that is a mountain for me. I've a simple csv that i use to create an Histogram. Id like to put the value of each bar at he right of it. I can easily show the number but i can't set the position. Do u have any advice?
Thanks
Alberto
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by lucasnijs on 18 Apr, 2014 07:39 PM
Hi Alberto,
the x-position of your numbers is actually the x-position of your bar where you add the width of your bar plus an offset (how many pixels you want the number be from the end of the bar). You already have the x-position of the bars as well as their y-positions, you also have the width of the bars: so add them up to the x-position and create points with a make point node (x and y values from above) and use these points to position your numbers. If realy you do not succeed: post the NB file.
grtz,
Lucas
2 Posted by Alberto on 18 Apr, 2014 07:45 PM
Thanks Lucanijs that's exactly what i was looking for. I'm really new but the make point node is what i needed. Now everything works and next week i'll post the NB here to help other people with my same problem.
Bye
3 Posted by Rajwinder Singh on 06 Oct, 2016 08:51 AM
Hi there,
I have given this attached data but I can not find this data by import csv in the Nodebox. can you please check what is wrong with this data
Thanks,
Support Staff 4 Posted by lucasnijs on 06 Oct, 2016 01:21 PM
Hello Rajwinder,
I looked at your file, it contains decimal numbers which are formatted with a comma. I could not change this quickly in Excel, but through Numbers and after changing locale preferences in the system preferences I managed to create a csv with decimal points and that seems to work just fine. The commas may only be used for field separation not for decimal or thousands separation. Your file had two sheets, i attach both of them,
good luck