15 #ifndef BORNAGAIN_MVVM_MODEL_MVVM_STANDARDITEMS_GRAPHITEM_H
16 #define BORNAGAIN_MVVM_MODEL_MVVM_STANDARDITEMS_GRAPHITEM_H
31 static inline const std::string P_LINK =
"P_LINK";
32 static inline const std::string P_GRAPH_TITLE =
"P_GRAPH_TITLE";
33 static inline const std::string P_PEN =
"P_PEN";
34 static inline const std::string P_DISPLAYED =
"P_DISPLAYED";
40 void setFromGraphItem(
const GraphItem* graph_item);
50 std::string colorName()
const;
51 void setNamedColor(
const std::string& named_color);
Complex item holding mixed SessionItem types (single properties and other CompountItems).
Represents one-dimensional data (axis and values).
One-dimensional graph representation of Data1DItem.
Represents basics settings of QPen.
const model_type GraphItemType
materialitems.h Collection of materials to populate MaterialModel.
std::vector< double > binValues(const QCPGraph *graph)
Returns vector representing y-values on QCPgraph.
std::vector< double > binErrors(const QCPGraph *graph)
Returns vector representing bin errors of QCPGraph.
std::vector< double > binCenters(const QCPGraph *graph)
Returns vector representing bin centers on QCPgraph.