How to decrease google letters

Asked

Viewed 606 times

1

Hello, I would like to know how to customize the letters of Google Charts, I have a generated chart, however the names are big, so they do not appear all, someone knows a way to decrease the letters or else, put the fallen words?

Relatorio, nem todos os nomes la embaixo estão aparecendo

Follows the code

     var options = {

            chart: {
                title: 'Relatorio Geral',
                subtitle: 'Quantidade de Operarios por função',
            },

            chartArea: { width: '100%', height: '50%' },
            annotations: {
                textStyle: {
                    fontName: 'Times-Roman',
                    fontSize: 18,
                    bold: true,
                    italic: true,
                    // The color of the text.
                    color: '#871b47',
                    // The color of the text outline.
                    auraColor: '#d799ae',
                    // The transparency of the text.
                    opacity: 0.8
                }
            }
    };

2 answers

2


  • I tried to do it and it didn’t work.

  • 1

    Could edit the message and post your code?

  • Okay, I put the code in the question

-1

For vertical text:

              hAxis: {
                   title: "",
                   slantedText: true,  /* Enable slantedText for horizontal axis */
                   slantedTextAngle: 90 /* Define slant Angle */
                   
              }

Browser other questions tagged

You are not signed in. Login or sign up in order to post.