Class: GOffice::GraphSeries

Inherits:
GraphStyledObject show all
Defined in:
(unknown)

Instance Method Summary collapse

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, #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

Instance Method Details

#check_validitynil

Updates the is_valid flag for a series. This is an internal utility that should not really be necessary for general usage.

Returns:

  • (nil)

#fill_typeString

Returns fill-type.

Returns:

  • (String)

    fill-type

#fill_type=(fill_type) ⇒ String

Parameters:

  • fill_type (String)

Returns:

  • (String)

    fill-type

  • (String)

    fill-type

#get_element(index) ⇒ GOffice::GraphSeriesElement

any

Parameters:

  • index (Integer)

    the element index

Returns:

#get_fill_type_from_combo(combo) ⇒ GOffice::GraphSeriesFillType

Parameters:

  • combo (Gtk::ComboBox)

Returns:

#get_xy_data(x, y) ⇒ Integer

Parameters:

  • x (Float)
  • y (Float)

Returns:

  • (Integer)

#get_xyz_data(x, y, z) ⇒ Integer

Parameters:

  • x (Float)
  • y (Float)
  • z (Float)

Returns:

  • (Integer)

#has_legendBoolean

Returns TRUE if the series has a visible legend entry.

Returns:

  • (Boolean)

    TRUE if the series has a visible legend entry

#has_legend=(has_legend) ⇒ Boolean

Parameters:

  • has_legend (Boolean)

Returns:

  • (Boolean)

    has-legend

  • (Boolean)

    has-legend

#has_legend?Boolean

Returns has-legend.

Returns:

  • (Boolean)

    has-legend

#interpolationString

Returns interpolation.

Returns:

  • (String)

    interpolation

#interpolation=(interpolation) ⇒ String

Parameters:

  • interpolation (String)

Returns:

  • (String)

    interpolation

  • (String)

    interpolation

#interpolation_paramsGOffice::GraphDataset

Only constrained cubic spline interpolation use parameters (for the slopes at each end).

Returns:

#interpolation_skip_invalid=(interpolation_skip_invalid) ⇒ Boolean

Parameters:

  • interpolation_skip_invalid (Boolean)

Returns:

  • (Boolean)

    interpolation-skip-invalid

  • (Boolean)

    interpolation-skip-invalid

#interpolation_skip_invalid?Boolean

Returns interpolation-skip-invalid.

Returns:

  • (Boolean)

    interpolation-skip-invalid

#is_validBoolean

Returns the current cached validity. Does not recheck.

Returns:

  • (Boolean)

    the current cached validity. Does not recheck

#map_XL_dim(ms_type) ⇒ Integer

Parameters:

Returns:

  • (Integer)

#nameGOffice::Data

Gets the source of the name associated with the series. NOTE : this is NOT the actual name.

Returns:

#name=(name_src) ⇒ nil

Absorbs a ref to name_src.

Parameters:

Returns:

  • (nil)

#num_elementsInteger

Returns the number of elements in the series.

Returns:

  • (Integer)

    the number of elements in the series

#overridesGLib::List<GOffice::GraphSeriesElement>

Overrides are data owning their own style, overriding the series style. overrides.

Returns:

#plotGOffice::GraphPlot

Returns the possibly NULL plot that contains this series.

Returns:

#populate_fill_type_combo(combo) ⇒ nil

Parameters:

  • combo (Gtk::ComboBox)

Returns:

  • (nil)

#set_dim(dim_i, val) ⇒ nil

Absorbs a ref to val

Parameters:

  • dim_i (Integer)

    Which dimension

  • val (GOffice::Data)

    #GOData

Returns:

  • (nil)

#set_index(ind, is_manual) ⇒ nil

If ind >= 0 attempt to assign the new index. Auto indicies (is_manual == FALSE) will not override the current index if it is manual. An index < 0, will reset the index to automatic and potentially queue a revaluation of the parent chart's cardinality.

Parameters:

  • ind (Integer)

    = 0 assigns a new index, < 0 resets to auto

  • is_manual (Boolean)

    gboolean

Returns:

  • (nil)

#set_XL_dim(ms_type, val) ⇒ nil

Parameters:

Returns:

  • (nil)