File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 66
66
'.. |aws| replace:: :abbr:`AWS (Amazon Web Services)`' ,
67
67
'.. |gcp| replace:: :abbr:`GCP (Google Cloud Platform)`' ,
68
68
'.. |html| replace:: :abbr:`HTML (HyperText Markup Language)`' ,
69
+ '.. |css| replace:: :abbr:`CSS (Cascading Style Sheets)`' ,
69
70
]
70
71
71
72
rst_epilog .extend (get_replacements (conf ))
Original file line number Diff line number Diff line change @@ -210,7 +210,34 @@ of the chart by calling methods on its handle.
210
210
* - ``theme``
211
211
- string
212
212
- A :ref:`theme <chart-display-theme>` for the chart to use. Valid
213
- options are ``light`` and ``dark``. Defaults to ``light``.
213
+ options are:
214
+
215
+ - ``light`` for a light background with dark text and chart
216
+ elements, or
217
+
218
+ - ``dark`` for a dark background with light text and chart
219
+ elements.
220
+
221
+ Defaults to ``light``.
222
+ - no
223
+
224
+ * - ``background``
225
+ - string
226
+ - A background color to apply to your chart instead of the
227
+ ``theme`` background. You can specify:
228
+
229
+ - A color hex code
230
+
231
+ - A |css| color name
232
+
233
+ - ``transparent`` for a transparent background
234
+
235
+ If no background is provided, the background color defaults to
236
+ the current ``theme``:
237
+
238
+ - ``#FFFFFF`` for the ``light`` theme, or
239
+
240
+ - ``#21313C`` for the ``dark`` theme.
214
241
- no
215
242
216
243
* - ``showAttribution``
You can’t perform that action at this time.
0 commit comments