BarChart
Object Hierarchy:
Description:
public class BarChart :
OrdinalChart
Models a bar chart. A bar chart contains multiple data series where each series can contain multiple points.
It is up to the user to ensure the data in each series is properly sorted, and that each series contains a data point for all possible x-
axis value (even if that value is 0). The behavior is undefined if a series contains a differing number of data points.
Although the SimpleChart.BarChart is an
SimpleChart.OrdinalChart, it can be used to display nominal data as well.
Since:
1.0.0
Content:
Properties:
- public float corner_radius { get; set; }
The corner radius to apply to a series. When values are stacked, the
corner radius applies to the column as a whole.
- public int margin { get; set; }
The spacing between different x-axis values.
- public int padding { get; set; }
The spacing between values at the same x-axis value. The padding value
is ignored when stacked is true, because there is only one bar per x-value in a stacked chart.
- public Shadow? shadow { get; set; }
The shadow to apply to the chart. When values are stacked, the shadow
is applied to the column as a whole.
- public bool stacked { get; set; }
Whether or not values from different series at the same x-value are
displayed stacked on top of each other, instead of next to each other.
Creation methods:
Inherited Members:
All known members inherited from class SimpleChart.OrdinalChart
All known members inherited from class SimpleChart.AbstractChart
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