Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementar Grid Lines #8

Open
JTheiller opened this issue Apr 19, 2022 · 0 comments
Open

Implementar Grid Lines #8

JTheiller opened this issue Apr 19, 2022 · 0 comments
Assignees

Comments

@JTheiller
Copy link
Owner

JTheiller commented Apr 19, 2022

As linhas de grade do gráfico são personalizáveis ​​definindo atributos em options.scales.<xAxes/yAxes>.gridLines . Esta configuração é muito flexível. Por exemplo, você pode alterar a cor, o tamanho e o estilo das linhas de grade (por exemplo, tornando-as pontilhadas ou tracejadas)

{
   "type":"bar",
   "data":{
      "labels":["Q1","Q2","Q3","Q4"],
      "datasets":[
         {
            "label":"Users",
            "data":[50,60,70,180]
         }
      ]
   },
   "options":{
      "scales":{
         "yAxes":[
            {
               "gridLines":{
                  "display":false
               }
            }
         ]
      }
   }
}
@JTheiller JTheiller self-assigned this Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant