Class: GOffice::GraphPlot
- Inherits:
-
GraphObject
- Object
- GraphObject
- GOffice::GraphPlot
- Defined in:
- (unknown)
Class Method Summary collapse
-
.families ⇒ GLib::HashTable<String>
registered plot families.
-
.family_by_name(name) ⇒ GOffice::GraphPlotFamily
The plot family if it exists.
-
.family_register(name, sample_image_file, priority, axis_set) ⇒ GOffice::GraphPlotFamily
The new Gog::PlotFamily.
- .family_unregister(family) ⇒ nil
-
.type_register(family, col, row, name, sample_image_file, description, engine) ⇒ GOffice::GraphPlotType
The new Gog::PlotType.
Instance Method Summary collapse
-
#axis=(axis) ⇒ nil
Connect axis and plot.
-
#axis_clear(filter) ⇒ nil
A utility method to clear all existing axis associations flagged by filter.
- #axis_set_assign(type) ⇒ Boolean
- #axis_set_is_valid(type) ⇒ Boolean
- #axis_set_pref ⇒ GOffice::GraphAxisSet
-
#bubble_axis ⇒ Integer
Bubble-axis.
- #bubble_axis=(bubble_axis) ⇒ Integer
-
#circ_axis ⇒ Integer
Circ-axis.
- #circ_axis=(circ_axis) ⇒ Integer
- #clear_series ⇒ nil
-
#color_axis ⇒ Integer
Color-axis.
- #color_axis=(color_axis) ⇒ Integer
-
#description ⇒ GOffice::GraphPlotDesc
The Gog::PlotDesc for plot.
-
#foreach_elem(only_visible, handler, data) ⇒ nil
Executes funcfor each plot element.
-
#get_axis(type) ⇒ GOffice::GraphAxis
The axis if any.
-
#get_axis_bounds(axis, bounds) ⇒ GOffice::Data
Queries plot for its axis preferences for axis and stores the results in bounds.
-
#get_cardinality(full, visible) ⇒ nil
Return the number of logical elements in the plot.
- #get_percent_value(series, index) ⇒ Float
- #guru_helper ⇒ nil
-
#guru_hints ⇒ String
Guru-hints.
- #guru_hints=(guru_hints) ⇒ String
- #initialize(type) ⇒ GOffice::GraphPlot constructor
-
#interpolation ⇒ String
Interpolation.
- #interpolation=(interpolation) ⇒ String
-
#new_series ⇒ GOffice::GraphSeries
A new GogSeries of a type consistent with plot.
-
#plot_group ⇒ String
Plot-group.
- #plot_group=(plot_group) ⇒ String
-
#pseudo_3d_axis ⇒ Integer
Pseudo-3d-axis.
- #pseudo_3d_axis=(pseudo_3d_axis) ⇒ Integer
-
#radial_axis ⇒ Integer
Radial-axis.
- #radial_axis=(radial_axis) ⇒ Integer
- #request_cardinality_update ⇒ nil
-
#series ⇒ GLib::SList<GOffice::GraphSeries>
A list of the series in plot.
- #supports_vary_style_by_element ⇒ Boolean
- #update_3d ⇒ nil
-
#update_cardinality(index_num) ⇒ nil
Update cardinality and cache result.
- #vary_style_by_element=(vary_style_by_element) ⇒ Boolean
-
#vary_style_by_element? ⇒ Boolean
Vary-style-by-element.
-
#x_axis ⇒ Integer
X-axis.
- #x_axis=(x_axis) ⇒ Integer
-
#y_axis ⇒ Integer
Y-axis.
- #y_axis=(y_axis) ⇒ Integer
-
#z_axis ⇒ Integer
Z-axis.
- #z_axis=(z_axis) ⇒ Integer
Methods inherited from GraphObject
#add_by_name, #add_by_role, #alignment, #alignment=, #anchor, #anchor=, #can_reorder, #clear_parent, #compass, #compass=, #document_changed, #dup, #emit_changed, #find_role_by_name, #get_child_by_name, #get_child_by_role, #get_children, #get_editor, #get_manual_allocation, #get_manual_position, #get_parent_typed, #get_position_flags, #graph, #id, #id=, #invisible=, #invisible?, #is_default_position_flags, #is_deletable, #is_position_manual=, #is_position_manual?, #manual_position=, #manual_size, #manual_size=, #manual_size_mode, #name, #name=, #new_view, #parent, #position, #position=, #possible_additions, register_roles, #reorder, #request_editor_update, #request_update, sax_push_parser, set_arg, #set_parent, #set_position_flags, #theme, #update, #write_xml_sax
Constructor Details
#initialize(type) ⇒ GOffice::GraphPlot
Class Method Details
.families ⇒ GLib::HashTable<String>
registered plot families.
.family_by_name(name) ⇒ GOffice::GraphPlotFamily
Returns the plot family if it exists.
.family_register(name, sample_image_file, priority, axis_set) ⇒ GOffice::GraphPlotFamily
Returns the new Gog::PlotFamily.
.family_unregister(family) ⇒ nil
.type_register(family, col, row, name, sample_image_file, description, engine) ⇒ GOffice::GraphPlotType
Returns the new Gog::PlotType.
Instance Method Details
#axis=(axis) ⇒ nil
Connect axis and plot.
#axis_clear(filter) ⇒ nil
A utility method to clear all existing axis associations flagged by filter
#axis_set_assign(type) ⇒ Boolean
#axis_set_is_valid(type) ⇒ Boolean
#axis_set_pref ⇒ GOffice::GraphAxisSet
#bubble_axis ⇒ Integer
Returns bubble-axis.
#bubble_axis=(bubble_axis) ⇒ Integer
#circ_axis ⇒ Integer
Returns circ-axis.
#circ_axis=(circ_axis) ⇒ Integer
#clear_series ⇒ nil
#color_axis ⇒ Integer
Returns color-axis.
#color_axis=(color_axis) ⇒ Integer
#description ⇒ GOffice::GraphPlotDesc
Returns the Gog::PlotDesc for plot.
#foreach_elem(only_visible, handler, data) ⇒ nil
Executes funcfor each plot element. Used to build a legend.
#get_axis(type) ⇒ GOffice::GraphAxis
Returns the axis if any.
#get_axis_bounds(axis, bounds) ⇒ GOffice::Data
Queries plot for its axis preferences for axis and stores the results in bounds. All elements of bounds are initialized to sane values before the query EXCEPT ::fmt. The caller is responsible for initializing it. This is done so that once on plot has selected a format the others need not do the lookup too if so desired.
Caller is responsible for unrefing ::fmt.
#get_cardinality(full, visible) ⇒ nil
Return the number of logical elements in the plot. See gog_chart_get_cardinality.
full and visible may be nil.
#get_percent_value(series, index) ⇒ Float
#guru_helper ⇒ nil
#guru_hints ⇒ String
Returns guru-hints.
#guru_hints=(guru_hints) ⇒ String
#interpolation ⇒ String
Returns interpolation.
#interpolation=(interpolation) ⇒ String
#new_series ⇒ GOffice::GraphSeries
Returns a new GogSeries of a type consistent with plot.
#plot_group ⇒ String
Returns plot-group.
#plot_group=(plot_group) ⇒ String
#pseudo_3d_axis ⇒ Integer
Returns pseudo-3d-axis.
#pseudo_3d_axis=(pseudo_3d_axis) ⇒ Integer
#radial_axis ⇒ Integer
Returns radial-axis.
#radial_axis=(radial_axis) ⇒ Integer
#request_cardinality_update ⇒ nil
#series ⇒ GLib::SList<GOffice::GraphSeries>
Returns A list of the series in plot. Do not modify or free the list.
#supports_vary_style_by_element ⇒ Boolean
#update_3d ⇒ nil
#update_cardinality(index_num) ⇒ nil
Update cardinality and cache result. See gog_chart_get_cardinality.
#vary_style_by_element=(vary_style_by_element) ⇒ Boolean
#vary_style_by_element? ⇒ Boolean
Returns vary-style-by-element.
#x_axis ⇒ Integer
Returns x-axis.
#x_axis=(x_axis) ⇒ Integer
#y_axis ⇒ Integer
Returns y-axis.
#y_axis=(y_axis) ⇒ Integer
#z_axis ⇒ Integer
Returns z-axis.