Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias alias TryExcept body Assign NameStore AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str handlers ExceptHandler type NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args NameParam defaults body Return IfExp Call NameLoad NameLoad Str Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults NameLoad Str body Expr Str Assign NameStore Str If CompareIsNot NameLoad NameLoad body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body If NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Assign NameStore BinOpMod NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad NameLoad orelse Assign NameStore BinOpMod NameLoad TupleLoad TupleLoad NameLoad Return Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr
N/A itertools izip_longest django template django.utils simplejson django.utils.safestring mark_safe django.conf settings N/A posixpath charts Chart PivotChart N/A N/A N/A CHARTIT_JS_REL_PATH N/A settings CHARTIT_JS_REL_PATH N/A N/A N/A CHARTIT_JS_REL_PATH N/A 0 / N/A N/A CHARTIT_JS_REL_PATH N/A CHARTIT_JS_REL_PATH N/A 1 N/A CHART_LOADER_URL N/A N/A posixpath join N/A settings STATIC_URL CHARTIT_JS_REL_PATH chartloader.js N/A N/A N/A AttributeError N/A N/A CHARTIT_JS_REL_PATH chartit/js/ N/A CHART_LOADER_URL N/A N/A posixpath join N/A settings STATIC_URL CHARTIT_JS_REL_PATH chartloader.js date_format N/A N/A obj N/A N/A N/A N/A N/A hasattr obj isoformat N/A N/A obj isoformat obj N/A N/A register N/A N/A template Library load_charts N/A N/A chart_list render_to N/A None N/A N/A Loads the ``Chart``/``PivotChart`` objects in the ``chart_list`` to the 
    HTML elements with id's specified in ``render_to``. 
    
    :Arguments:
    
    - **chart_list** - a list of Chart/PivotChart objects. If there is just a 
      single element, the Chart/PivotChart object can be passed directly 
      instead of a list with a single element.
       
    - **render_to** - a comma separated string of HTML element id's where the 
      charts needs to be rendered to. If the element id of a specific chart 
      is already defined during the chart creation, the ``render_to`` for that 
      specific chart can be an empty string or a space.
      
      For example, ``render_to = 'container1, , container3'`` renders three 
      charts to three locations in the HTML page. The first one will be 
      rendered in the HTML element with id ``container1``, the second 
      one to it's default location that was specified in ``chart_options`` 
      when the Chart/PivotChart object was created, and the third one in the
      element with id ``container3``.
    
    :returns:
     
    - a JSON array of the HighCharts Chart options. Also returns a link
      to the ``chartloader.js`` javascript file to be embedded in the webpage. 
      The ``chartloader.js`` has a jQuery script that renders a HighChart for 
      each of the options in the JSON array N/A embed_script <script type="text/javascript">
var _chartit_hco_array = %s;
</script>
<script src="%s" type="text/javascript">
</script> N/A N/A chart_list None N/A N/A N/A isinstance chart_list N/A Chart PivotChart N/A N/A chart_list N/A chart_list N/A chart_list N/A N/A c hcoptions N/A c chart_list N/A render_to_list N/A N/A N/A s strip N/A s N/A N/A render_to split , N/A N/A hco render_to N/A izip_longest chart_list render_to_list N/A N/A render_to N/A N/A N/A N/A hco N/A chart N/A renderTo render_to N/A embed_script N/A embed_script N/A N/A N/A simplejson dumps chart_list use_decimal True default date_format CHART_LOADER_URL N/A N/A embed_script N/A embed_script N/A N/A CHART_LOADER_URL N/A N/A mark_safe embed_script N/A N/A register filter