We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efc0f90 commit 9e70f31Copy full SHA for 9e70f31
dashboards/component/chart/chart.py
@@ -17,3 +17,6 @@ class Chart(Component):
17
18
value: Optional[Union[Callable[..., Any], Type["ChartSerializer"]]] = None
19
defer: Optional[Union[Callable[..., Any], Type["ChartSerializer"]]] = None
20
+
21
+ class Media:
22
+ js = ("dashboards/vendor/js/plotly.min.js",)
dashboards/component/map.py
@@ -15,3 +15,6 @@ class Map(Component):
15
# we should also probably accept objects which have a to_json() on them
16
value: Optional[str] = None
defer: Optional[Callable[[HttpRequest], str]] = None
0 commit comments