from quickchart import QuickChart
qc = QuickChart()
qc.width = 500
qc.height = 300
qc.device_pixel_ratio = 2.0
qc.config = {
“type”: “bar”,
“data”: {
“labels”: [“Hello world”, “Test”],
“datasets”: [{
“label”: “Foo”,
“data”: [1, 2]
}]
}
}
Print the chart URL
url = qc.get_url()