Value on histogram

Alberto's Avatar


16 Apr, 2014 09:23 AM

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?



  1. Support Staff 1 Posted by lucasnijs on 18 Apr, 2014 07:39 PM

    lucasnijs's Avatar

    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.


  2. 2 Posted by Alberto on 18 Apr, 2014 07:45 PM

    Alberto's Avatar

    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.


  3. 3 Posted by Rajwinder Singh on 06 Oct, 2016 08:51 AM

    Rajwinder Singh's Avatar

    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


  4. Support Staff 4 Posted by lucasnijs on 06 Oct, 2016 01:21 PM

    lucasnijs's Avatar

    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

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • Schermata_2014-04-16_alle_11.23.05.png 129 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? 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

Recent Discussions

29 May, 2024 05:47 AM
29 May, 2024 05:15 AM
29 May, 2024 05:12 AM
28 May, 2024 07:37 PM
25 May, 2024 11:52 AM


24 May, 2024 07:39 AM
16 May, 2024 02:11 AM
14 May, 2024 01:29 AM
12 May, 2024 07:46 PM
05 May, 2024 04:38 PM
03 May, 2024 06:50 AM