UI for ii charts.
More...
|
def | __init__ (self, parent, data, colours={}, width=100, height=100, total=100, label=None, rcolour=None) |
|
def | setup (self) |
|
def | update (self, data=None) |
|
|
| widget |
|
| data |
|
| colours |
|
| width |
|
| height |
|
| total |
|
| rcolour |
|
| unit |
|
| label |
|
| outercoords |
|
| widgets |
|
| shapes |
|
§ __init__()
def TkGraphs.TkPiChart.__init__ |
( |
|
self, |
|
|
|
parent, |
|
|
|
data, |
|
|
|
colours = {} , |
|
|
|
width = 100 , |
|
|
|
height = 100 , |
|
|
|
total = 100 , |
|
|
|
label = None , |
|
|
|
rcolour = None |
|
) |
| |
initializes the attributes for a pi chart
@param parent
@param data
@param colours
@param width
@param height
@param total
@param label
@param rcolour
§ setup()
def TkGraphs.TkPiChart.setup |
( |
|
self | ) |
|
creates a canvas for the pi chart
§ update()
def TkGraphs.TkPiChart.update |
( |
|
self, |
|
|
|
data = None |
|
) |
| |
converts the data into section of the pi chart
@param data
The documentation for this class was generated from the following file: