linkDataGraph
¶
Module Contents¶
Classes¶
-
class
HowToPlotGraph
(attribute_x, attribute_y, kwargs_graph=None, check_if_plot_elem=None, meta=None)[source]¶
-
class
LinkDataGraph
[source]¶ -
add_collection
(theCollection, kwargs=None)[source]¶ Add a collection (that will be a future trace)
Parameters: - theCollection –
- kwargs – kwargs associated with the collection (e.g., color, symbol style, etc.)
Returns: unique id associated with the collection
-
remove_collection
(collectionId)[source]¶ Remove collection from the graphs
Parameters: collectionId – ID of the collection Returns:
-
set_shadow_collection
(master_collectionId, shadow_collection)[source]¶ Link a collection to an other
Parameters: - master_collectionId – ID of the collection that is displayed in the graph
- shadow_collection – collection to link to the master.
Returns:
-
add_graph
(howToPlotGraph)[source]¶ Add new graph to be plotted.
Parameters: howToPlotGraph – HowToPlotGraph
Returns:
-
get_idCollection_from_graph
(idGraph, idTrace)[source]¶ Get id of collection plotted in graph $idGraph and trace $idTrace
-
get_collection_from_graph
(idGraph, idTrace, getShadow=True) → optimeed.core.ListDataStruct_Interface[source]¶ From indices in the graph, get corresponding collection
-
get_clicked_item
(idGraph, idTrace, idPoint, getShadow=True)[source]¶ Get the data hidden behind the clicked point
Parameters: - idGraph – ID of the graph
- idTrace – ID of the trace
- idPoint – ID of the point
- getShadow – If true, will return the data from the collection linked to the collection that is plotted
Returns: Object in collection
-
get_clicked_items
(idGraph, idTrace, idPoint_list, getShadow=True)[source]¶ Same as get_clicked_item, but using a list of points
-
get_graph_and_trace_from_idCollection
(idCollection)[source]¶ Reverse search: from a collection, get all associated graphs
-
get_idcollection_from_collection
(theCollection)[source]¶ Reverse search: from a collection, find its id
-