Class: GOffice::GraphPlotView

Inherits:
GraphView show all
Defined in:
(unknown)

Instance Method Summary collapse

Methods inherited from GraphView

#find_child_view, #get_natural_size, #get_tip_at_point, #get_tool_at_point, #get_view_at_point, #model, #model=, #padding_request, #parent=, #queue_redraw, #queue_resize, #render, #render_toolkit, #size_allocate, #size_child_request, #size_request, #toolkit, #update_sizes

Instance Method Details

#get_data_at_point(x, y, series) ⇒ Integer

Search a data represented at (x,y) in view and set series on success.

Parameters:

  • x (Float)

    x position

  • y (Float)

    y position

  • series (GOffice::GraphSeries)

    where to store the series

Returns:

  • (Integer)

    index of the found data in series or -1.