gchart
======
A flexible Google Chart API wrapper.
Example
-------
```python
from gchart import gchart
chart_class = gchart.corechart.PieChartFactory(some_piechart_option='foo')
chart = chart_class(
[("name", "string"), ("no. of donuts eaten", "number")],
[("Joe", 3), ("Bob", 5), ("Helen", 9)],
another_piechart_option = "bar"
)
```
The you can call `chart.initialize_html()` and `chart.render_html()`...
Note that because `corechart` and `PieChartFactory` are created dynamically, you cannot write:
```python
from gchart.gchart.corechart import PieChartFactory
```
Instead, you may do something like:
```python
import gchart
PieChartFactory = gchart.gchart.corechart.PieChartFactory
```
======
A flexible Google Chart API wrapper.
Example
-------
```python
from gchart import gchart
chart_class = gchart.corechart.PieChartFactory(some_piechart_option='foo')
chart = chart_class(
[("name", "string"), ("no. of donuts eaten", "number")],
[("Joe", 3), ("Bob", 5), ("Helen", 9)],
another_piechart_option = "bar"
)
```
The you can call `chart.initialize_html()` and `chart.render_html()`...
Note that because `corechart` and `PieChartFactory` are created dynamically, you cannot write:
```python
from gchart.gchart.corechart import PieChartFactory
```
Instead, you may do something like:
```python
import gchart
PieChartFactory = gchart.gchart.corechart.PieChartFactory
```
Release files for gchart 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gchart-0.0.2.tar.gz | 2.9 kB | Details |
Release files / gchart-0.0.2.tar.gz
| Download URL | gchart-0.0.2.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33ec37fa6e2f43f64024b487dfd97542705900f6642770f9024341d0b02fb5f0
|
|
BLAKE2b-256 checksum How to use checksums |
f81df30176f2e0a75a62d4e04e36f20e3e3cf884bedab412cc7240ff2f4d221c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |