Renders the graphs as an img tag. Usage in templates: $:g.render(yLimit=100, width=300, height=400)
(self, **options)
| 41 | return options |
| 42 | |
| 43 | def render(self, **options): |
| 44 | """Renders the graphs as an img tag. |
| 45 | |
| 46 | Usage in templates: |
| 47 | |
| 48 | $:g.render(yLimit=100, width=300, height=400) |
| 49 | """ |
| 50 | return f'<img src="{get_graphite_base_url()}/render/?{urllib.parse.urlencode(self.get_queryparams(**options), doseq=True)}"/>' |
| 51 | |
| 52 | |
| 53 | class Series: |
nothing calls this directly
no test coverage detected