You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ The URLs will render an image of a chart:
56
56
57
57
You can set the following properties:
58
58
59
-
### config: dict
59
+
### config: dict or str
60
60
The actual Chart.js chart configuration.
61
61
62
62
### width: int
@@ -78,13 +78,13 @@ The device pixel ratio of the chart. This will multiply the number of pixels by
78
78
79
79
There are two ways to get a URL for your chart object.
80
80
81
-
### getUrl(): string
81
+
### get_url(): str
82
82
83
83
Returns a URL that will display the chart image when loaded.
84
84
85
-
### getShortUrl(): Promise
85
+
### get_short_url(): str
86
86
87
-
Uses the quickchart.io web service to create a fixed-length chart URL that displays the chart image. The Promise resolves with a URL such as `https://quickchart.io/chart/render/f-a1d3e804-dfea-442c-88b0-9801b9808401`.
87
+
Uses the quickchart.io web service to create a fixed-length chart URL that displays the chart image. Returns a URL such as `https://quickchart.io/chart/render/f-a1d3e804-dfea-442c-88b0-9801b9808401`.
88
88
89
89
Note that short URLs expire after a few days for users of the free service. You can [subscribe](https://quickchart.io/pricing/) to keep them around longer.
0 commit comments