Where can I find more detailed documentation about which chart settings can be used in google-cloud-datalab

I use the magic of% chart in DataLab to create charts. I see in the examples that there are options that can be specified in the body of the cell to fine-tune these diagrams. Where can I find documentation on these?

+2
source share
2 answers

Charts created using the% chart use the Google chart tools ( https://developers.google.com/chart/ ). The documentation there describes the options available for each chart. For example, options for bubble charts are documented at https://developers.google.com/chart/interactive/docs/gallery/bubblechart#configuration-options .

In DataLab, you can specify these parameters in a cell using JSON or YAML.

You can get limited help using% chart --help and% chart <charttype> --help. The help shown there should be much better in a future release.

+2
source

In case someone remains confused, an example syntax is as follows:

%%chart scatter --data births
title: Birth Weight vs Weeks
height: 400
width: 900
hAxis:
  title: Weeks
vAxis:
  title: Weight
legend: none
0
source

Source: https://habr.com/ru/post/1611850/


All Articles