15 #include "CeePlot2d/Base.h" 17 #include "CeeVisualization/OverlayItem.h" 19 #include "CeeCore/Str.h" 52 virtual unsigned int width()
const;
53 virtual unsigned int height()
const;
54 void setSize(
unsigned int width,
unsigned int height);
56 virtual int priority()
const;
57 virtual void setPriority(
int priority);
60 void setTitle(
const Str& title);
62 bool drawBackground()
const;
63 void setDrawBackground(
bool drawBackground);
65 Color3f backgroundColor()
const;
66 void setBackgroundColor(
const Color3f& color);
68 float backgroundOpacity()
const;
69 void setBackgroundOpacity(
float opacity);
72 void setBorderColor(
const Color3f& color);
74 float borderWidth()
const;
75 void setBorderWidth(
float width);
77 bool drawBorder()
const;
78 void setDrawBorder(
bool drawBorder);
86 bool drawCurveLegend()
const;
87 void setDrawCurveLegend(
bool drawCurveLegend);
92 void setTextColor(
const Color3f& color);
96 size_t curveCount()
const;
97 const Curve* curve(
size_t curveIndex)
const;
98 Curve* curve(
size_t curveIndex);
99 Curve* addCurve(
const Str& curveName,
const std::vector<double>& xValues,
const std::vector<double>& yValues);
100 void removeAllCurves();
101 void removeCurve(
size_t curveIndex);
103 double xValuesMinimum()
const;
104 double xValuesMaximum()
const;
105 double yValuesMinimum()
const;
106 double yValuesMaximum()
const;
109 virtual cvf::OverlayItem* internal_cvfOverlayItem();
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
A general unicode based string class.
Definition: Str.h:28
Abstract interface for overlay items.
Definition: OverlayItem.h:31
Show the legend to the right of the plot.
Definition: OverlayPlot.h:44
Class for storing an RGB color triplet.
Definition: Color3f.h:25
Settings for a marker line in an OverlayPlot object.
Definition: MarkerLine.h:30
Overlay item with basic 2D plotting.
Definition: OverlayPlot.h:38
Axis settings for an OverlayPlot object.
Definition: AxisSettings.h:30
A 2D data series for use in an OverlayPlot.
Definition: Curve.h:32
A font used for text drawing.
Definition: Font.h:30
LegendPosition
Position of the plot legend.
Definition: OverlayPlot.h:42