AgsGui.Cartesian¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1)
- Structs:
Virtual Methods¶
- Inherited:
Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The center of lines |
||
r/w |
The font’s size |
||
r/w |
The line width |
||
r/w |
The cairo plot |
||
r/w |
The points radius |
||
r/w |
The cairo surface |
||
r/w |
The translate data |
||
r/w |
The x big scale factor |
||
r/w |
The x end |
||
r/w |
The x labels as string array |
||
r/w |
The x label conversion data |
||
r/w |
The x label factor |
||
r/w |
The x label precision |
||
r/w |
The x label start position |
||
r/w |
The x label step width |
||
r/w |
The horizontal x margin |
||
r/w |
The x scale conversion data |
||
r/w |
The x step width |
||
r/w |
The x small scale factor |
||
r/w |
The x start |
||
r/w |
The x step |
||
r/w |
The x step conversion data |
||
r/w |
The x step conversion factor |
||
r/w |
The x step width |
||
r/w |
The x translate point |
||
r/w |
The x unit label |
||
r/w |
The x unit’s size |
||
r/w |
The x unit’s x0 position |
||
r/w |
The x unit’s y0 position |
||
r/w |
The y big scale factor |
||
r/w |
The y end |
||
r/w |
The y labels as string array |
||
r/w |
The y label conversion data |
||
r/w |
The y label factor |
||
r/w |
The y label precision |
||
r/w |
The y label start position |
||
r/w |
The y label step height |
||
r/w |
The vertical y margin |
||
r/w |
The y scale conversion data |
||
r/w |
The y scale step height |
||
r/w |
The y small scale factor |
||
r/w |
The y start |
||
r/w |
The y step |
||
r/w |
The y step conversion data |
||
r/w |
The y step conversion factor |
||
r/w |
The y step height |
||
r/w |
The y translate point |
||
r/w |
The y unit label |
||
r/w |
The y unit’s size |
||
r/w |
The y unit’s x0 position |
||
r/w |
The y unit’s y0 position |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
center |
r |
||
flags |
r |
||
font_size |
r |
||
line_width |
r |
||
plot |
[ |
r |
|
point_radius |
r |
||
step_conversion_func |
r |
||
surface |
r |
||
translate_data |
r |
||
translate_func |
r |
||
widget |
r |
||
x_big_scale_factor |
r |
||
x_big_scale_func |
r |
||
x_end |
r |
||
x_label |
r |
||
x_label_data |
r |
||
x_label_factor |
r |
||
x_label_func |
r |
||
x_label_precision |
r |
||
x_label_start |
r |
||
x_label_step_width |
r |
||
x_margin |
r |
||
x_scale_data |
r |
||
x_scale_step_width |
r |
||
x_small_scale_factor |
r |
||
x_small_scale_func |
r |
||
x_start |
r |
||
x_step |
r |
||
x_step_data |
r |
||
x_step_factor |
r |
||
x_step_width |
r |
||
x_translate_point |
r |
||
x_unit |
r |
||
x_unit_size |
r |
||
x_unit_x0 |
r |
||
x_unit_y0 |
r |
||
y_big_scale_factor |
r |
||
y_big_scale_func |
r |
||
y_end |
r |
||
y_label |
r |
||
y_label_data |
r |
||
y_label_factor |
r |
||
y_label_func |
r |
||
y_label_precision |
r |
||
y_label_start |
r |
||
y_label_step_height |
r |
||
y_margin |
r |
||
y_scale_data |
r |
||
y_scale_step_height |
r |
||
y_small_scale_factor |
r |
||
y_small_scale_func |
r |
||
y_start |
r |
||
y_step |
r |
||
y_step_data |
r |
||
y_step_factor |
r |
||
y_step_height |
r |
||
y_translate_point |
r |
||
y_unit |
r |
||
y_unit_size |
r |
||
y_unit_x0 |
r |
||
y_unit_y0 |
r |
Class Details¶
- class AgsGui.Cartesian(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod linear_step_conversion_func(current, is_abscissae, data)¶
- Parameters:
- Returns:
the converted step value
- Return type:
Perform linear step conversion.
New in version 3.0.0.
- classmethod linear_translate_func(x, y, data)¶
- Parameters:
x (
float
) – the x positiony (
float
) – the y positiondata (
object
orNone
) – theAgsGui.Cartesian
- Returns:
- ret_x:
the return location of translated x
- ret_y:
the return location of transloated y
- Return type:
Perform linear translation.
New in version 3.0.0.
- classmethod linear_x_big_scale_func(value, data)¶
- Parameters:
value (
float
) – the valuedata (
object
orNone
) – theAgsGui.Cartesian
- Returns:
the matching scale value
- Return type:
Labeling function of x big scale
New in version 3.0.0.
- classmethod linear_x_label_func(value, data)¶
- Parameters:
value (
float
) – the valuedata (
object
orNone
) – theAgsGui.Cartesian
- Returns:
the formatted string
- Return type:
Format x label value appropriately.
New in version 3.0.0.
- classmethod linear_x_small_scale_func(value, data)¶
- Parameters:
value (
float
) – the valuedata (
object
orNone
) – theAgsGui.Cartesian
- Returns:
the matching scale value
- Return type:
Labeling function of x small scale
New in version 3.0.0.
- classmethod linear_y_big_scale_func(value, data)¶
- Parameters:
value (
float
) – the valuedata (
object
orNone
) – theAgsGui.Cartesian
- Returns:
the matching scale value
- Return type:
Labeling function of y big scale
New in version 3.0.0.
- classmethod linear_y_label_func(value, data)¶
- Parameters:
value (
float
) – the valuedata (
object
orNone
) – theAgsGui.Cartesian
- Returns:
the formatted string
- Return type:
Format y label value appropriately.
New in version 3.0.0.
- classmethod linear_y_small_scale_func(value, data)¶
- Parameters:
value (
float
) – the valuedata (
object
orNone
) – theAgsGui.Cartesian
- Returns:
the matching scale value
- Return type:
Labeling function of y small scale
New in version 3.0.0.
- classmethod new()¶
- Returns:
the new
AgsGui.Cartesian
- Return type:
Create a new instance of
AgsGui.Cartesian
New in version 3.0.0.
- add_plot(plot)¶
- Parameters:
plot (
object
orNone
) – theAgsGui.Plot
-struct
Add plot to self.
New in version 3.0.0.
- fill_label(do_x_label)¶
- Parameters:
do_x_label (
bool
) – do x label
Fill x label if do_x_label, otherwise y label.
New in version 3.0.0.
- get_font_size()¶
- Returns:
the font size
- Return type:
Get font size of self.
New in version 3.2.0.
- get_line_width()¶
- Returns:
the line width
- Return type:
Get line width of self.
New in version 3.2.0.
- get_point_radius()¶
- Returns:
the point radius
- Return type:
Get point radius.
New in version 3.2.0.
- get_surface()¶
- Returns:
the cairo surface
- Return type:
Get cairo surface of self.
New in version 3.2.0.
- get_x_big_scale_factor()¶
- Returns:
the x big factor
- Return type:
Get x big scale factor of self.
New in version 3.2.0.
- get_x_label_factor()¶
- Returns:
the x label factor
- Return type:
Get x label factor of self.
New in version 3.2.0.
- get_x_label_precision()¶
- Returns:
the x label precision
- Return type:
Get x label precision of self.
New in version 3.2.0.
- get_x_label_start()¶
- Returns:
the x label start
- Return type:
Get x label start of self.
New in version 3.2.0.
- get_x_label_step_width()¶
- Returns:
the x label step width
- Return type:
Get x label step width.
New in version 3.2.0.
- get_x_margin()¶
- Returns:
the x margin
- Return type:
Get x margin of self.
New in version 3.2.0.
- get_x_scale_step_width()¶
- Returns:
the x scale step width
- Return type:
Get x scale step width of self.
New in version 3.2.0.
- get_x_small_scale_factor()¶
- Returns:
the x small factor
- Return type:
Get x small scale factor of self.
New in version 3.2.0.
- get_x_step_factor()¶
- Returns:
the x step factor
- Return type:
Get x step factor of self.
New in version 3.2.0.
- get_x_step_width()¶
- Returns:
the x step width
- Return type:
Get x step width of self.
New in version 3.2.0.
- get_x_unit_size()¶
- Returns:
the x unit size
- Return type:
Get x unit size of self.
New in version 3.2.0.
- get_x_unit_x0()¶
- Returns:
the x unit x0
- Return type:
Get x unit x0 of self.
New in version 3.2.0.
- get_x_unit_y0()¶
- Returns:
the x unit y0
- Return type:
Get x unit y0 of self.
New in version 3.2.0.
- get_y_big_scale_factor()¶
- Returns:
the y big factor
- Return type:
Get y big scale factor of self.
New in version 3.2.0.
- get_y_label_factor()¶
- Returns:
the y label factor
- Return type:
Get y label factor of self.
New in version 3.2.0.
- get_y_label_precision()¶
- Returns:
the y label precision
- Return type:
Get y label precision of self.
New in version 3.2.0.
- get_y_label_start()¶
- Returns:
the y label start
- Return type:
Get y label start of self.
New in version 3.2.0.
- get_y_label_step_height()¶
- Returns:
the y label step height
- Return type:
Get y label step height of self.
New in version 3.2.0.
- get_y_margin()¶
- Returns:
the y margin
- Return type:
Get y margin of self.
New in version 3.2.0.
- get_y_scale_step_height()¶
- Returns:
the y scale step height
- Return type:
Get y scale step height of self.
New in version 3.2.0.
- get_y_small_scale_factor()¶
- Returns:
the y small factor
- Return type:
Get y small scale factor of self.
New in version 3.2.0.
- get_y_step_factor()¶
- Returns:
the y step factor
- Return type:
Get y step factor of self.
New in version 3.2.0.
- get_y_step_height()¶
- Returns:
the y step height
- Return type:
Get y step height.
New in version 3.2.0.
- get_y_unit_size()¶
- Returns:
the y unit size
- Return type:
Get y unit size of self.
New in version 3.2.0.
- get_y_unit_x0()¶
- Returns:
the y unit x0
- Return type:
Get y unit x0 of self.
New in version 3.2.0.
- reallocate_label(do_x_label)¶
- Parameters:
do_x_label (
bool
) – do x label
Reallocate x label if do_x_label, otherwise y label.
New in version 3.0.0.
- remove_plot(plot)¶
- Parameters:
plot (
object
orNone
) – theAgsGui.Plot
-struct
Remove plot from self.
New in version 3.0.0.
- set_center(center)¶
- Parameters:
center (
float
) – the center
Set center of self.
New in version 3.2.0.
- set_font_size(font_size)¶
- Parameters:
font_size (
float
) – the font size
Set font size of self.
New in version 3.2.0.
- set_line_width(line_width)¶
- Parameters:
line_width (
float
) – the line width
Set line width of self.
New in version 3.2.0.
- set_point_radius(point_radius)¶
- Parameters:
point_radius (
float
) – the point radius
Set point radius.
New in version 3.2.0.
- set_x_big_scale_factor(x_big_scale_factor)¶
- Parameters:
x_big_scale_factor (
float
) – the x big scale factor
Set x big scale factor of self.
New in version 3.2.0.
- set_x_label(x_label)¶
- Parameters:
x_label (
str
) – the x label
Set x label of self.
New in version 3.2.0.
- set_x_label_factor(x_label_factor)¶
- Parameters:
x_label_factor (
float
) – the x label factor
Set x label factor of self.
New in version 3.2.0.
- set_x_label_precision(x_label_precision)¶
- Parameters:
x_label_precision (
float
) – the x label precision
Set x label precision of self.
New in version 3.2.0.
- set_x_label_start(x_label_start)¶
- Parameters:
x_label_start (
float
) – the x label start
Set x label start of self.
New in version 3.2.0.
- set_x_label_step_width(x_label_step_width)¶
- Parameters:
x_label_step_width (
float
) – the x label step width
Set x label step width of self.
New in version 3.2.0.
- set_x_margin(x_margin)¶
- Parameters:
x_margin (
float
) – the x margin
Set x margin of self.
New in version 3.2.0.
- set_x_scale_step_width(x_scale_step_width)¶
- Parameters:
x_scale_step_width (
float
) – the x scale step width
Set x scale step width of self.
New in version 3.2.0.
- set_x_small_scale_factor(x_small_scale_factor)¶
- Parameters:
x_small_scale_factor (
float
) – the x small scale factor
Set x small scale factor of self.
New in version 3.2.0.
- set_x_start(x_start)¶
- Parameters:
x_start (
float
) – the x start
Set x start of self.
New in version 3.2.0.
- set_x_step(x_step)¶
- Parameters:
x_step (
float
) – the x step
Set x step of self.
New in version 3.2.0.
- set_x_step_factor(x_step_factor)¶
- Parameters:
x_step_factor (
float
) – the x step factor
Set x step factor of self.
New in version 3.2.0.
- set_x_step_width(x_step_width)¶
- Parameters:
x_step_width (
float
) – the x step width
Set x step width of self.
New in version 3.2.0.
- set_x_unit_size(x_unit_size)¶
- Parameters:
x_unit_size (
float
) – the x unit size
Set x unit size of self.
New in version 3.2.0.
- set_x_unit_x0(x_unit_x0)¶
- Parameters:
x_unit_x0 (
float
) – the x unit x0
Set x unit x0 of self.
New in version 3.2.0.
- set_x_unit_y0(x_unit_y0)¶
- Parameters:
x_unit_y0 (
float
) – the x unit y0
Set x unit y0 of self.
New in version 3.2.0.
- set_y_big_scale_factor(y_big_scale_factor)¶
- Parameters:
y_big_scale_factor (
float
) – the y big scale factor
Set y big scale factor of self.
New in version 3.2.0.
- set_y_label(y_label)¶
- Parameters:
y_label (
str
) – the y label
Set y label of self.
New in version 3.2.0.
- set_y_label_factor(y_label_factor)¶
- Parameters:
y_label_factor (
float
) – the y label factor
Set y label factor of self.
New in version 3.2.0.
- set_y_label_precision(y_label_precision)¶
- Parameters:
y_label_precision (
float
) – the y label precision
Set y label precision of self.
New in version 3.2.0.
- set_y_label_start(y_label_start)¶
- Parameters:
y_label_start (
float
) – the y label start
Set y label start of self.
New in version 3.2.0.
- set_y_label_step_height(y_label_step_height)¶
- Parameters:
y_label_step_height (
float
) – the y label step height
Set y label step height of self.
New in version 3.2.0.
- set_y_margin(y_margin)¶
- Parameters:
y_margin (
float
) – the y margin
Set y margin of self.
New in version 3.2.0.
- set_y_scale_step_height(y_scale_step_height)¶
- Parameters:
y_scale_step_height (
float
) – the y scale step height
Set y scale step height of self.
New in version 3.2.0.
- set_y_small_scale_factor(y_small_scale_factor)¶
- Parameters:
y_small_scale_factor (
float
) – the y small scale factor
Set y small scale factor of self.
New in version 3.2.0.
- set_y_start(y_start)¶
- Parameters:
y_start (
float
) – the y start
Set y start of self.
New in version 3.2.0.
- set_y_step(y_step)¶
- Parameters:
y_step (
float
) – the y step
Set y step of self.
New in version 3.2.0.
- set_y_step_factor(y_step_factor)¶
- Parameters:
y_step_factor (
float
) – the y step factor
Set y step factor of self.
New in version 3.2.0.
- set_y_step_height(y_step_height)¶
- Parameters:
y_step_height (
float
) – the y step height
Set y step height of self.
New in version 3.2.0.
- set_y_unit_size(y_unit_size)¶
- Parameters:
y_unit_size (
float
) – the y unit size
Set y unit size of self.
New in version 3.2.0.
Property Details¶
- AgsGui.Cartesian.props.center¶
-
The center of lines
New in version 3.0.0.
- AgsGui.Cartesian.props.font_size¶
-
The font’s size to draw labels and units.
New in version 3.0.0.
- AgsGui.Cartesian.props.line_width¶
-
The line width.
New in version 3.0.0.
- AgsGui.Cartesian.props.plot¶
-
The
GLib.List
-struct containigAgsGui.Plot
.New in version 4.0.0.
- AgsGui.Cartesian.props.point_radius¶
-
The points radius.
New in version 3.0.0.
- AgsGui.Cartesian.props.surface¶
-
The cairo surface.
New in version 4.0.0.
- AgsGui.Cartesian.props.translate_data¶
-
The data to pass to translate function.
New in version 4.0.0.
- AgsGui.Cartesian.props.x_big_scale_factor¶
-
The scale factor to use with x big scale function.
New in version 4.0.0.
- AgsGui.Cartesian.props.x_end¶
-
The x end.
New in version 3.0.0.
- AgsGui.Cartesian.props.x_label¶
-
The x labels as a string array.
New in version 3.0.0.
- AgsGui.Cartesian.props.x_label_data¶
-
The data to pass to x label conversion function.
New in version 4.0.0.
- AgsGui.Cartesian.props.x_label_factor¶
-
The factor to use with x label function.
New in version 4.0.0.
- AgsGui.Cartesian.props.x_label_precision¶
-
The precision to use with x label function.
New in version 4.0.0.
- AgsGui.Cartesian.props.x_label_start¶
-
The x label start position.
New in version 3.0.0.
- AgsGui.Cartesian.props.x_label_step_width¶
-
The x label step width.
New in version 3.0.0.
- AgsGui.Cartesian.props.x_margin¶
-
The horizontal x margin.
New in version 3.0.0.
- AgsGui.Cartesian.props.x_scale_data¶
-
The data to pass to x scale conversion function.
New in version 4.0.0.
- AgsGui.Cartesian.props.x_scale_step_width¶
-
The width of a x scale step.
New in version 3.0.0.
- AgsGui.Cartesian.props.x_small_scale_factor¶
-
The scale factor to use with x small scale function.
New in version 4.0.0.
- AgsGui.Cartesian.props.x_start¶
-
The x start.
New in version 3.0.0.
- AgsGui.Cartesian.props.x_step¶
-
The x step.
New in version 3.0.0.
- AgsGui.Cartesian.props.x_step_data¶
-
The data to pass to x step conversion function.
New in version 4.0.0.
- AgsGui.Cartesian.props.x_step_factor¶
-
The step factor to use with x step conversion function.
New in version 4.0.0.
- AgsGui.Cartesian.props.x_step_width¶
-
The width of a x step.
New in version 3.0.0.
- AgsGui.Cartesian.props.x_translate_point¶
-
The x translate point.
New in version 4.0.0.
- AgsGui.Cartesian.props.x_unit¶
-
The x unit label.
New in version 3.0.0.
- AgsGui.Cartesian.props.x_unit_size¶
-
The x unit’s size.
New in version 4.0.0.
- AgsGui.Cartesian.props.x_unit_x0¶
-
The x unit’s x0 position.
New in version 3.0.0.
- AgsGui.Cartesian.props.x_unit_y0¶
-
The x unit’s y0 position.
New in version 3.0.0.
- AgsGui.Cartesian.props.y_big_scale_factor¶
-
The scale factor to use with y big scale function.
New in version 4.0.0.
- AgsGui.Cartesian.props.y_end¶
-
The y end.
New in version 3.0.0.
- AgsGui.Cartesian.props.y_label¶
-
The y labels as a string array.
New in version 3.0.0.
- AgsGui.Cartesian.props.y_label_data¶
-
The data to pass to y label conversion function.
New in version 4.0.0.
- AgsGui.Cartesian.props.y_label_factor¶
-
The factor to use with y label function.
New in version 4.0.0.
- AgsGui.Cartesian.props.y_label_precision¶
-
The precision to use with y label function.
New in version 4.0.0.
- AgsGui.Cartesian.props.y_label_start¶
-
The y label start position.
New in version 3.0.0.
- AgsGui.Cartesian.props.y_label_step_height¶
-
The y label step height.
New in version 3.0.0.
- AgsGui.Cartesian.props.y_margin¶
-
The horizontal y margin.
New in version 3.0.0.
- AgsGui.Cartesian.props.y_scale_data¶
-
The data to pass to y scale conversion function.
New in version 4.0.0.
- AgsGui.Cartesian.props.y_scale_step_height¶
-
The height of a y scale step.
New in version 3.0.0.
- AgsGui.Cartesian.props.y_small_scale_factor¶
-
The scale factor to use with y small scale function.
New in version 4.0.0.
- AgsGui.Cartesian.props.y_start¶
-
The y start.
New in version 3.0.0.
- AgsGui.Cartesian.props.y_step¶
-
The y step.
New in version 3.0.0.
- AgsGui.Cartesian.props.y_step_data¶
-
The data to pass to y step conversion function.
New in version 4.0.0.
- AgsGui.Cartesian.props.y_step_factor¶
-
The step factor to use with y step conversion function.
New in version 4.0.0.
- AgsGui.Cartesian.props.y_step_height¶
-
The height of a y step.
New in version 3.0.0.
- AgsGui.Cartesian.props.y_translate_point¶
-
The y translate point.
New in version 4.0.0.
- AgsGui.Cartesian.props.y_unit¶
-
The y unit label.
New in version 3.0.0.
- AgsGui.Cartesian.props.y_unit_size¶
-
The y unit’s size.
New in version 4.0.0.
- AgsGui.Cartesian.props.y_unit_x0¶
-
The y unit’s x0 position.
New in version 3.0.0.