Chart not rendering in outlook inbox

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()

image

Hi @Waithira,

Can you please share the following to help with troubleshooting:

  1. The result of qc.get_url()
  2. The URL when you right-click on the image in Outlook > click ‘Copy image address’