Bar Chart Y-Axis Labels Truncated?

2
Hi – I’m using the delivered bar chart widget, and my y-axis labels are truncated, i.e., the whole label doesn’t show? Any way around this? I didn’t see a way to configure size of labels on a bar chart. These would be the labels on each y-value.
asked
3 answers
1

Hi, to fix the truncated labels on the y-axis this for the worked for me: { "yaxis": { "automargin": true } }

answered
0

did you check out this page in the Plot.ly documentation:  https://plot.ly/javascript/reference/#layout-yaxis

there is a section that talks about label size and making space for the labels:

and here’s a page that gives an example of configuring automargin for a bar chart: https://community.plot.ly/t/using-the-automargin-property-for-bar-graphs/15444

answered
0

Thanks – I tried with the following on my x-axis (since I have the same “labels truncation” issue on both axes), and it doesn’t seem to work?

 

 {
       "xaxis": {  
                "autorange": true, "automargin": true, "title": {
                             "standoff": 150
                           }
    },
                "yaxis": {
                          "autorange": true, "automargin": true
      }
 }

answered