Skip to content

Commit 6c19eaf

Browse files
authored
Link to chart examples
1 parent 668b843 commit 6c19eaf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ print(qc.get_url())
101101
You can set the following properties:
102102

103103
### config: dict or str
104-
The actual Chart.js chart configuration.
104+
The actual Chart.js chart configuration.
105+
106+
If your chart configuration is JSON-compatible, it's usually easiest to pass an object ([example](https://github.com/typpo/quickchart-python/blob/master/examples/simple_example.py)). If your chart configuration contains a Javascript function, you may pass it as a string ([example](https://github.com/typpo/quickchart-python/blob/master/examples/simple_example_with_function.py)) or use `QuickChartFunction` ([example](https://github.com/typpo/quickchart-python/blob/master/examples/using_quickchartfunction.py)).
105107

106108
### width: int
107109
Width of the chart image in pixels. Defaults to 500

0 commit comments

Comments
 (0)