• Resolved liip

    (@liip)


    Hi
    I created some graphs displayed on my site. Even though they are 100% identical from a configuration part, on some of the graphs all bars labels are displayed (last graph on the page) but on others with exactly the same number of bars and exactly the same labels only every second is displayed (4th graph from the bottom for example.)
    How can I force a graph to display all bar labels?
    Best regards
    Yves Bertrand

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @liip,

    Thanks for choosing Visualizer!

    Unfortunately I am not able to replicate this issue. Could you please provide us the data source file of the chart where the labels are not consistently displayed so we can check the issue on our end?

    Thank you and have a nice day!

    Thread Starter liip

    (@liip)

    Hello Lucia
    This one displays all labels:

    Bezirk,Nettoverschuldung 2020
    string,number
    Sense-Unterland,2405
    Sense-Mittelland,1127
    Sense-Oberland,2020
    Sensebezirk,2017
    Seebezirk,1630
    Saanebezirk,3326
    Glanebezirk,1643
    Vivisbachbezirk,4538
    Greyerzbezirk,3169
    Broyebezirk,3911
    Kanton,2927

    and this one not

    Bezirk,Steuerertrag 2019
    string,number
    Sense-Unterland,2997
    Sense-Mittelland,2705
    Sense-Oberland,2422
    Sensebezirk,2794
    Seebezirk,3203
    Freiburg-Stadt,2778
    Saane-Land,2963
    Glanebezirk,2499
    Vivisbachbezirk,2857
    Greyerzbezirk,2797
    Broyebezirk,2612
    Kanton,2838

    I cannot see any difference, but probably you can.
    Best regards
    Yves

    Hi @liip!

    Thank you very much for providing the data!

    I checked it on my test instances and it looks like, in some cases, depending on the number of columns and possibly on the length of the labels, only the last chart from a page shows all the column labels, regardless of the charts order on the page. This happens only in some cases, but it seems to be indeed an issue and I’ll report it to our developers. In the meantime, you could add the code below in the chart Settings -> Manual Configuration, as you can see here. This will rotate the labels a little bit, so all of them should fit properly. Feel free to change the value of the angle at which the labels are rotated as you please (it’s currently set at 60).

    {"hAxis": {"slantedText":"true", "slantedTextAngle":"60" }}

    I hope this helps!

    Have a nice day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Force display of all bar labels’ is closed to new replies.