Class: GOffice::GraphAxis
- Inherits:
-
GraphAxisBase
- Object
- GraphObject
- GraphStyledObject
- GraphAxisBase
- GOffice::GraphAxis
- Defined in:
- (unknown)
Class Method Summary collapse
Instance Method Summary collapse
-
#add_contributor(contrib) ⇒ nil
Register contrib as taking part in the negotiation of axis's bounds.
-
#assigned_format_string_XL ⇒ String
Assigned-format-string-XL.
- #assigned_format_string_XL=(assigned_format_string_XL) ⇒ String
- #atype ⇒ GOffice::GraphAxisType
-
#axis_ref ⇒ String
Axis-ref.
- #axis_ref=(axis_ref) ⇒ String
- #bound_changed(contrib) ⇒ nil
-
#circular_rotation ⇒ Float
Circular-rotation.
- #circular_rotation=(circular_rotation) ⇒ Float
- #clear_contributors ⇒ nil
-
#color_map ⇒ GOffice::GraphAxisColorMap
Retrieves the Gog::AxisColorMap associated to the axis or nil.
-
#color_map_name ⇒ String
Color-map-name.
- #color_map_name=(color_map_name) ⇒ String
-
#color_scale ⇒ GOffice::GraphColorScale
Retrieves the Gog::ColorScale associated to the axis or nil.
-
#contributors ⇒ GLib::SList<GOffice::GraphObject>
contributors.
- #data_get_bounds(data, minimum, maximum) ⇒ nil
- #date_conv ⇒ GOffice::DateConventions
-
#del_contributor(contrib) ⇒ nil
contrib no longer takes part in the negotiation of axis's bounds.
-
#display_factor ⇒ Float
Display-factor.
- #display_factor=(display_factor) ⇒ Float
-
#effective_format ⇒ GOffice::Format
from gog_axis_get_format in that it never returns a general format (see #go_format_is_general).
-
#format ⇒ GOffice::Format
The format assigned to axis.
-
#format=(fmt) ⇒ Boolean
True if things changed.
-
#get_bounds(minima, maxima) ⇒ Boolean
True if the bounds stored in minima and maxima are sane.
- #get_effective_span(start, end) ⇒ nil
-
#get_entry(i, user_defined) ⇒ Float
The value of axis element i and sets user_defined or NaN on error.
-
#get_grid_line(major) ⇒ GOffice::GraphGridLine
if it doesn't exists.
-
#get_labels(plot_that_labeled_axis) ⇒ GOffice::Data
along with the plot that it was associated with.
-
#get_ticks(ticks) ⇒ Integer
An accessor to axis->ticks.
- #invert_axis=(invert_axis) ⇒ Boolean
-
#invert_axis? ⇒ Boolean
Invert-axis.
-
#is_center_on_ticks ⇒ Boolean
TRUE if labels are centered on ticks when axis is discrete.
-
#is_discrete ⇒ Boolean
TRUE if axis enumerates a set of discrete items, rather than a continuous value.
-
#is_inverted ⇒ Boolean
TRUE if axis is inverted.
- #is_zero_important ⇒ Boolean
- #major_ticks_distance ⇒ Float
-
#map_name ⇒ String
Map-name.
- #map_name=(map_name) ⇒ String
-
#metrics ⇒ String
Metrics.
- #metrics=(metrics) ⇒ String
-
#metrics_ratio ⇒ Float
Metrics-ratio.
- #metrics_ratio=(metrics_ratio) ⇒ Float
-
#metrics_unit ⇒ String
Metrics-unit.
- #metrics_unit=(metrics_unit) ⇒ String
- #polar_perimeter ⇒ Float
-
#polar_unit ⇒ String
Polar-unit.
- #polar_unit=(polar_unit) ⇒ String
-
#ref_axis ⇒ GOffice::GraphAxis
NULL.
-
#set_bounds(minimum, maximum) ⇒ nil
Sets axis bounds.
-
#set_extents(start, stop) ⇒ nil
Set axis exents.
-
#span_end ⇒ Float
Span-end.
- #span_end=(span_end) ⇒ Float
-
#span_start ⇒ Float
Span-start.
- #span_start=(span_start) ⇒ Float
-
#type ⇒ Integer
Type.
- #type=(type) ⇒ Integer
Methods inherited from GraphAxisBase
#clamped_position, #cross_axis_id, #cross_axis_id=, #cross_location, #crossed_axis, #crossed_axis_type, #get_crossed_axis_for_plot, #major_tick_in=, #major_tick_in?, #major_tick_labeled=, #major_tick_labeled?, #major_tick_out=, #major_tick_out?, #major_tick_size_pts, #major_tick_size_pts=, #minor_tick_in=, #minor_tick_in?, #minor_tick_out=, #minor_tick_out?, #minor_tick_size_pts, #minor_tick_size_pts=, #padding_pts, #padding_pts=, #pos, #pos=, #pos_str, #pos_str=, #position, #position=
Methods inherited from GraphStyledObject
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=, #initialize, #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
This class inherits a constructor from GOffice::GraphObject
Class Method Details
.from_str=(str) ⇒ GOffice::GraphAxisSet
Instance Method Details
#add_contributor(contrib) ⇒ nil
Register contrib as taking part in the negotiation of axis's bounds.
#assigned_format_string_XL ⇒ String
Returns assigned-format-string-XL.
#assigned_format_string_XL=(assigned_format_string_XL) ⇒ String
#atype ⇒ GOffice::GraphAxisType
#axis_ref ⇒ String
Returns axis-ref.
#axis_ref=(axis_ref) ⇒ String
#bound_changed(contrib) ⇒ nil
#circular_rotation ⇒ Float
Returns circular-rotation.
#circular_rotation=(circular_rotation) ⇒ Float
#clear_contributors ⇒ nil
#color_map ⇒ GOffice::GraphAxisColorMap
Retrieves the Gog::AxisColorMap associated to the axis or nil.
#color_map_name ⇒ String
Returns color-map-name.
#color_map_name=(color_map_name) ⇒ String
#color_scale ⇒ GOffice::GraphColorScale
Retrieves the Gog::ColorScale associated to the axis or nil. for color and pseudo-3d axes.
#contributors ⇒ GLib::SList<GOffice::GraphObject>
contributors
#data_get_bounds(data, minimum, maximum) ⇒ nil
#date_conv ⇒ GOffice::DateConventions
#del_contributor(contrib) ⇒ nil
contrib no longer takes part in the negotiation of axis's bounds.
#display_factor ⇒ Float
Returns display-factor.
#display_factor=(display_factor) ⇒ Float
#effective_format ⇒ GOffice::Format
from gog_axis_get_format in that it never returns a general format (see #go_format_is_general).
#format ⇒ GOffice::Format
Returns the format assigned to axis.
#format=(fmt) ⇒ Boolean
Returns true if things changed.
#get_bounds(minima, maxima) ⇒ Boolean
Returns true if the bounds stored in minima and maxima are sane.
#get_effective_span(start, end) ⇒ nil
#get_entry(i, user_defined) ⇒ Float
Returns the value of axis element i and sets user_defined or NaN on error.
#get_grid_line(major) ⇒ GOffice::GraphGridLine
if it doesn't exists.
#get_labels(plot_that_labeled_axis) ⇒ GOffice::Data
along with the plot that it was associated with
#get_ticks(ticks) ⇒ Integer
An accessor to axis->ticks.
#invert_axis=(invert_axis) ⇒ Boolean
#invert_axis? ⇒ Boolean
Returns invert-axis.
#is_center_on_ticks ⇒ Boolean
Returns TRUE if labels are centered on ticks when axis is discrete.
#is_discrete ⇒ Boolean
Returns TRUE if axis enumerates a set of discrete items, rather than a continuous value.
#is_inverted ⇒ Boolean
Returns TRUE if axis is inverted.
#is_zero_important ⇒ Boolean
#major_ticks_distance ⇒ Float
#map_name ⇒ String
Returns map-name.
#map_name=(map_name) ⇒ String
#metrics ⇒ String
Returns metrics.
#metrics=(metrics) ⇒ String
#metrics_ratio ⇒ Float
Returns metrics-ratio.
#metrics_ratio=(metrics_ratio) ⇒ Float
#metrics_unit ⇒ String
Returns metrics-unit.
#metrics_unit=(metrics_unit) ⇒ String
#polar_perimeter ⇒ Float
#polar_unit ⇒ String
Returns polar-unit.
#polar_unit=(polar_unit) ⇒ String
#ref_axis ⇒ GOffice::GraphAxis
NULL.
#set_bounds(minimum, maximum) ⇒ nil
Sets axis bounds. If minimum or maximum are not finite values, corresponding bound remains unchanged.
#set_extents(start, stop) ⇒ nil
Set axis exents. It's a convenience function that sets axis bounds taking into account invert flag.
#span_end ⇒ Float
Returns span-end.
#span_end=(span_end) ⇒ Float
#span_start ⇒ Float
Returns span-start.
#span_start=(span_start) ⇒ Float
#type ⇒ Integer
Returns type.