The UserXYData object stores a sequence of pairs and information about the axes.
Api.userData().xyDataObjects()[name]
This method replaces the contents of the data member of the XYData object.
void addData(const odb_SequenceSequenceDouble& data);
Required argument
An odb_SequenceSequenceDouble specifying the X–Y data pairs.
Optional arguments
Return value
Exceptions
Returns the contents of the data member of the XYData object.
odb_SequenceSequenceFloat getData();
Arguments
Return value
An odb_SequenceSequenceFloat.
Exceptions
The UserXYData object can have the following members:
odb_String name() const; odb_String sourceDescription() const; odb_String contentDescription() const; odb_String positionDescription() const; odb_String xAxisLabel() const; odb_String yAxisLabel() const; odb_String legendLabel() const; odb_String description() const; odb_SequenceSequenceDouble data() const;
An odb_String specifying the repository key.
An odb_String specifying the source of the X–Y data (e.g., “Entered from keyboard”, “Taken from ASCII file”, “Read from an ODB”, etc.). The default value is an empty string.
An odb_String specifying the content of the X–Y data (e.g., “field 1 vs. field 2”). The default value is an empty string.
An odb_String specifying additional information about the X–Y data (e.g., “for whole model”). The default value is an empty string.
An odb_String specifying the label for the X-values. This value may be overridden if the X–Y data are combined with other X–Y data. The default value is an empty string.
An odb_String specifying the label for the Y-values. This value may be overridden if the X–Y data are combined with other X–Y data. The default value is an empty string.
An odb_String specifying the label to be used in the legend. The default value is the name of the XYData object.
An odb_String specifying the complete description of the XYData object.
An odb_SequenceSequenceDouble specifying the X–Y data pairs.