Module ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Num Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad Num Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Return Call NameLoad keyword Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad keyword Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body If UnaryOpNot NameLoad body Assign NameStore ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Call NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad keyword Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list
N/A Axis N/A object N/A N/A 
    :param label: Name of the Axis
    :param format: d3.js axis format
    :param dateFormat: Modify values to JS Date objects and set d3.time.format 
                       refer to https://github.com/mbostock/d3/wiki/Time-Formatting
     __init__ N/A N/A self label format dateFormat N/A None None None N/A N/A N/A self label label N/A N/A self format format N/A N/A self dateFormat dateFormat N/A N/A Chart N/A object N/A N/A template_partial N/A height 320 N/A title N/A MultiBarChart N/A Chart N/A N/A 
    :param title: The chart title
    "param x_axis: Instance of corehq.apps.reports.graph_models.Axis
    "param y_axis: Instance of corehq.apps.reports.graph_models.Axis

    Class fields:
        data: see add_dataset function
        marginTop: Top Margin in pixels
        marginLeft: Left Margin in pixels
        marginRight: Right Margin in pixels
        marginBottom: Bottom Margin in pixels
        showControls: True to show controls
        showLegend: True to show legend
        reduceXTicks: True to reduce the number of X ticks
        rotateLabels: Degrees to rotate X-Axis labels e.g. -45
        tooltips: True to show tooltips
        tooltipFormat: Seperator text bw x,y values in tooltipContent e.g." in ", " on  "
        stacked: True to make default view stacked, False for grouped
        staggerLabels: True to stagger the X-Axis labels.
        groupSpacing: Used to adjust amount of space between X-Axis groups. Value between 0 and 1.
        forceY: Used to force values into the Y scale domain. Useful to ensure max / min scales. Must be list of numbers
        translateLabelsX: Pixels to move X-Axis labels in X direction
        translateLabelsY: Pixels to move X-Axis labels in Y direction

     N/A template_partial reports/partials/graphs/multibar_chart.html __init__ N/A N/A self title x_axis y_axis N/A N/A N/A N/A self title title N/A N/A self x_axis x_axis N/A N/A self y_axis y_axis N/A N/A self data N/A N/A N/A self marginTop 30 N/A N/A self marginRight 20 N/A N/A self marginBottom 50 N/A N/A self marginLeft 100 N/A N/A self showControls True N/A N/A self showLegend True N/A N/A self reduceXTicks False N/A N/A self rotateLabels 0 N/A N/A self tooltips True N/A N/A self tooltipFormat N/A N/A self stacked False N/A N/A self translateLabelsX 0 N/A N/A self translateLabelsY 0 N/A N/A self staggerLabels False N/A N/A self groupSpacing 0.3 N/A N/A self forceY N/A 0 1 N/A add_dataset N/A N/A self key values color N/A None N/A N/A 
        :param key: dataset name
        :param values: List of dictionaries containing x and y values i.e. [{x=1, y=2}, ...]
        :param color: HTML color value
         N/A d N/A dict key key values values N/A color N/A N/A N/A d N/A color color N/A N/A N/A N/A self data append d N/A config_dict N/A N/A self N/A N/A N/A N/A N/A self rotateLabels N/A N/A self translateLabelsX N/A N/A N/A self translateLabelsX -10 N/A N/A dict margin N/A top right bottom left N/A self marginTop N/A self marginRight N/A self marginBottom N/A self marginLeft showControls N/A self showControls showLegend N/A self showLegend reduceXTicks N/A self reduceXTicks rotateLabels N/A self rotateLabels tooltips N/A self tooltips stacked N/A self stacked translateLabelsX N/A self translateLabelsX translateLabelsY N/A self translateLabelsY staggerLabels N/A self staggerLabels forceY N/A self forceY groupSpacing N/A self groupSpacing N/A N/A LineChart N/A Chart N/A N/A 
    :param title: The chart title
    "param x_axis: Instance of corehq.apps.reports.graph_models.Axis
    "param y_axis: Instance of corehq.apps.reports.graph_models.Axis

    Class fields:
        data: see add_dataset function
        marginTop: Top Margin in pixels
        marginLeft: Left Margin in pixels
        marginRight: Right Margin in pixels
        marginBottom: Bottom Margin in pixels

     N/A template_partial reports/partials/graphs/line_chart.html __init__ N/A N/A self title x_axis y_axis N/A N/A N/A N/A self title title N/A N/A self x_axis x_axis N/A N/A self y_axis y_axis N/A N/A self data N/A N/A N/A self marginTop 30 N/A N/A self marginRight 20 N/A N/A self marginBottom 50 N/A N/A self marginLeft 100 N/A N/A self tooltips True N/A N/A self showLegend True N/A N/A self data_needs_formatting False N/A N/A self x_axis_uses_dates False N/A add_dataset N/A N/A self key values color N/A None N/A N/A 
        :param key: dataset name
        :param values: List of dictionaries containing x and y values i.e. [{x=1, y=2}, ...]
        :param color: HTML color value
         N/A d N/A dict key key values values N/A color N/A N/A N/A d N/A color color N/A N/A N/A N/A self data append d N/A config_dict N/A N/A self N/A N/A N/A N/A dict margin N/A top right bottom left N/A self marginTop N/A self marginRight N/A self marginBottom N/A self marginLeft showLegend N/A self showLegend tooltips N/A self tooltips N/A N/A PieChart N/A Chart N/A N/A 
    :param title: The chart title
    "param key: The name of the dataset
    "param values: List of dicts each with 'label' and 'value' keys e.g. [{'label': 'One', 'value': 1}, ...]

    Class fields:
        marginTop: Top Margin in pixels
        marginLeft: Left Margin in pixels
        marginRight: Right Margin in pixels
        marginBottom: Bottom Margin in pixels
        showLabels: True to show labels
        donut: Draw chart as a donut.
        tooltips: True to show tooltips
     N/A template_partial reports/partials/graphs/pie_chart.html __init__ N/A N/A self title key values color N/A None N/A N/A N/A color N/A N/A color N/A N/A N/A self title title N/A N/A self data N/A N/A dict key key values values N/A N/A self marginTop 30 N/A N/A self marginRight 20 N/A N/A self marginBottom 50 N/A N/A self marginLeft 80 N/A N/A self showLabels True N/A N/A self donut False N/A N/A self tooltips True N/A N/A self color color N/A config_dict N/A N/A self N/A N/A N/A N/A dict margin N/A top right bottom left N/A self marginTop N/A self marginRight N/A self marginBottom N/A self marginLeft showLabels N/A self showLabels tooltips N/A self tooltips donut N/A self donut color N/A self color N/A N/A