Class: GOffice::GraphChart

Inherits:
GraphOutlinedObject show all
Defined in:
(unknown)

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from GraphOutlinedObject

#pad, #padding_pts, #padding_pts=

Methods inherited from GraphStyledObject

#style, #style=

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

.view_get_plot_area(view) ⇒ GOffice::GraphViewAllocation

Parameters:

Returns:

  • (GOffice::GraphViewAllocation)

Instance Method Details

#axis_setGOffice::GraphAxisSet

#axis_set_assign(type) ⇒ Boolean

Parameters:

Returns:

  • (Boolean)

#axis_set_is_valid(type) ⇒ Boolean

Parameters:

Returns:

  • (Boolean)

#cardinality_valid=(cardinality_valid) ⇒ Boolean

Parameters:

  • cardinality_valid (Boolean)

Returns:

  • (Boolean)

    cardinality-valid

  • (Boolean)

    cardinality-valid

#cardinality_valid?Boolean

Returns cardinality-valid.

Returns:

  • (Boolean)

    cardinality-valid

#columnsInteger

Returns columns.

Returns:

  • (Integer)

    columns

#columns=(columns) ⇒ Integer

Parameters:

  • columns (Integer)

Returns:

  • (Integer)

    columns

  • (Integer)

    columns

#foreach_elem(only_visible, handler, data) ⇒ nil

Applies handler to children

Parameters:

  • only_visible (Boolean)

    whether to only apply to visible children

  • handler (GOffice::GraphEnumFunc)

    callback

  • data (GObject)

    user data

Returns:

  • (nil)

#get_axes(target) ⇒ GLib::SList<GOffice::GraphAxis>

caller must free of all axis of type target associated with chart.

Parameters:

Returns:

#get_cardinality(full, visible) ⇒ nil

Update and cache cardinality values if required, and returns full and visible cardinality. Full cardinality is the number of chart elements that require a different style. Visible cardinality is the number of chart elements shown in chart legend.

full and visible may be nil.

Parameters:

  • full (Integer)

    placeholder for full cardinality

  • visible (Integer)

    placeholder for visible cardinality

Returns:

  • (nil)

#get_plot_area(plot_area) ⇒ Boolean

Stores plot area in plot_area, in fraction of chart size.

Parameters:

  • plot_area (GOffice::GraphViewAllocation)

    Gog::ViewAllocation

Returns:

  • (Boolean)

    true if plot area position is manual.

#get_position(x, y, cols, rows) ⇒ Boolean

Returns TRUE if the chart has been positioned.

Parameters:

  • x (Integer)
  • y (Integer)
  • cols (Integer)
  • rows (Integer)

Returns:

  • (Boolean)

    TRUE if the chart has been positioned.

#gridGOffice::GraphGrid

otherwise NULL.

Returns:

#is_3dBoolean

Returns:

  • (Boolean)

#is_plot_area_manual=(is_plot_area_manual) ⇒ Boolean

Parameters:

  • is_plot_area_manual (Boolean)

Returns:

  • (Boolean)

    is-plot-area-manual

  • (Boolean)

    is-plot-area-manual

#is_plot_area_manual?Boolean

Returns is-plot-area-manual.

Returns:

  • (Boolean)

    is-plot-area-manual

#plot_areaString

Returns plot-area.

Returns:

  • (String)

    plot-area

#plot_area=(plot_area) ⇒ String

Parameters:

  • plot_area (String)

Returns:

  • (String)

    plot-area

  • (String)

    plot-area

#plotsGLib::SList<GOffice::GraphPlot>

in chart.

Returns:

#request_cardinality_updatenil

Returns:

  • (nil)

#rowsInteger

Returns rows.

Returns:

  • (Integer)

    rows

#rows=(rows) ⇒ Integer

Parameters:

  • rows (Integer)

Returns:

  • (Integer)

    rows

  • (Integer)

    rows

#set_position(x, y, cols, rows) ⇒ nil

Parameters:

  • x (Integer)
  • y (Integer)
  • cols (Integer)
  • rows (Integer)

Returns:

  • (nil)

#xposInteger

Returns xpos.

Returns:

  • (Integer)

    xpos

#xpos=(xpos) ⇒ Integer

Parameters:

  • xpos (Integer)

Returns:

  • (Integer)

    xpos

  • (Integer)

    xpos

#yposInteger

Returns ypos.

Returns:

  • (Integer)

    ypos

#ypos=(ypos) ⇒ Integer

Parameters:

  • ypos (Integer)

Returns:

  • (Integer)

    ypos

  • (Integer)

    ypos