AbstractChart
Object Hierarchy:
Description:
protected abstract class AbstractChart : Grid
Base class for implementing simple charts.
Since:
1.0.0
Content:
Properties:
- public ListStore data { get; set; }
The data backing the chart. Sorting will affect the order in which
data is drawn in the chart.
- public HighlightMode highlight_mode { get; set; }
Whether or not to apply highlighting to a data series when the pointer
hovers over it. The default is false.
- public Legend? legend { get; set; }
The optional legend to show next to the chart. The legend will
automatically update to show entries for each data series present in the data.
Methods:
- protected abstract void draw_func (DrawingArea drawing_area, Context cr, int width, int height)
Invoked automatically to redraw the chart.
- public void set_highlight_func (owned HighlightFunc? highlight_func)
By setting a highlight function, one can modify the color of a data
series when the pointer is hovering over the series.
- protected abstract void validate_data ()
Invoked automatically to validate changes to the data.
Fields:
Inherited Members:
All known members inherited from class Gtk.Grid
- attach
- attach_next_to
- baseline_row
- column_homogeneous
- column_spacing
- get_baseline_row
- get_child_at
- get_column_homogeneous
- get_column_spacing
- get_row_baseline_position
- get_row_homogeneous
- get_row_spacing
- insert_column
- insert_next_to
- insert_row
- query_child
- remove
- remove_column
- remove_row
- row_homogeneous
- row_spacing
- set_baseline_row
- set_column_homogeneous
- set_column_spacing
- set_row_baseline_position
- set_row_homogeneous
- set_row_spacing
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface Gtk.Accessible
- accessible_role
- announce
- get_accessible_parent
- get_accessible_role
- get_at_context
- get_bounds
- get_first_accessible_child
- get_next_accessible_sibling
- get_platform_state
- reset_property
- reset_relation
- reset_state
- set_accessible_parent
- update_next_accessible_sibling
- update_property
- update_property_value
- update_relation
- update_relation_value
- update_state
- update_state_value
All known members inherited from interface Gtk.Buildable
- add_child
- custom_finished
- custom_tag_end
- custom_tag_start
- get_buildable_id
- get_id
- get_internal_child
- parser_finished
- set_buildable_property
- set_id
All known members inherited from interface Gtk.Orientable