App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Public Attributes | List of all members
google.appengine._internal.graphy.bar_chart.BarChartStyle Class Reference
Inheritance diagram for google.appengine._internal.graphy.bar_chart.BarChartStyle:
google.appengine._internal.graphy.bar_chart.BarStyle

Public Member Functions

def __init__
 

Public Attributes

 bar_thickness
 
 bar_gap
 
 group_gap
 
 use_fractional_gap_spacing
 

Detailed Description

Represents the style for bars on a BarChart.

Any of the object attributes may be set to None, in which case the
value will be auto-calculated.

Object Attributes:
  bar_thickness: The thickness of a bar, in pixels.
  bar_gap: The gap between bars, in pixels, or as a fraction of bar thickness
      if use_fractional_gap_spacing is True.
  group_gap: The gap between groups of bars, in pixels, or as a fraction of
      bar thickness if use_fractional_gap_spacing is True.
  use_fractional_gap_spacing: if True, bar_gap and group_gap specify gap
      sizes as a fraction of bar width. Default is False.

Constructor & Destructor Documentation

def google.appengine._internal.graphy.bar_chart.BarChartStyle.__init__ (   self,
  bar_thickness = None,
  bar_gap = _DEFAULT_BAR_GAP,
  group_gap = _DEFAULT_GROUP_GAP,
  use_fractional_gap_spacing = False 
)
Create a new BarChartStyle.

Args:
 bar_thickness: The thickness of a bar, in pixels. Set this to None if
   you want the bar thickness to be auto-calculated (this is the default
   behaviour).
 bar_gap: The gap between bars, in pixels. Default is 4.
 group_gap: The gap between groups of bars, in pixels. Default is 8.

The documentation for this class was generated from the following file: