![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __init__ |
def | Url |
def | Img |
Public Attributes | |
extra_params | |
url_base | |
formatters | |
chart | |
enhanced_encoding | |
escape_url | |
Base class for encoders which turn chart objects into Google Chart URLS. Object attributes: extra_params: Dict to add/override specific chart params. Of the form param:string, passed directly to the Google Chart API. For example, 'cht':'lti' becomes ?cht=lti in the URL. url_base: The prefix to use for URLs. If you want to point to a different server for some reason, you would override this. formatters: TODO: Need to explain how these work, and how they are different from chart formatters. enhanced_encoding: If True, uses enhanced encoding. If False, simple encoding is used. escape_url: If True, URL will be properly escaped. If False, characters like | and , will be unescapped (which makes the URL easier to read).
def google.appengine._internal.graphy.backends.google_chart_api.encoders.BaseChartEncoder.Img | ( | self, | |
width, | |||
height | |||
) |
Get an image tag for our graph.
def google.appengine._internal.graphy.backends.google_chart_api.encoders.BaseChartEncoder.Url | ( | self, | |
width, | |||
height, | |||
use_html_entities = False |
|||
) |
Get the URL for our graph. Args: use_html_entities: If True, reserved HTML characters (&, <, >, ") in the URL are replaced with HTML entities (&, <, etc.). Default is False.