65 const QString &x_axis_label,
66 const QString &y_axis_label);
70 virtual void setGraphData(
int graph_index,
71 const std::vector<double> &keys,
72 const std::vector<double> &values);
74 virtual void setGraphData(QCPGraph *graph_p,
75 const std::vector<double> &keys,
76 const std::vector<double> &values);
78 virtual void clearGraphData(
int graph_index);
80 virtual void axisDoubleClickHandler(QCPAxis *axis,
81 QCPAxis::SelectablePart part,
82 QMouseEvent *event)
override;
86 virtual void axisRescale()
override;
87 virtual void axisReframe()
override;
88 virtual void axisZoom()
override;
89 virtual void axisPan()
override;
91 virtual QCPGraph *addTrace(
const pappso::Trace &trace,
const QColor &color);
92 virtual QCPBars *addBars(
const pappso::Trace &bars,
const QColor &color);
95 findIntegrationLowerRangeForKey(
int index,
double key, QCPRange &range);
97 std::vector<double> getValuesX(
int index)
const;
98 std::vector<double> getValuesY(
int index)
const;
100 QCPRange getValueRangeOnKeyRange(QCPAbstractPlottable *plottable_p,
bool &ok);
101 QCPRange getValueRangeOnKeyRange(
int index,
bool &ok);
103 double getYatX(
double x, QCPGraph *graph_p);
106 double getYatX(
double x,
int index = 0);
108 pappso::Trace toTrace(
int index,
bool only_visible_range =
false)
const;
109 pappso::Trace toTrace(
const QCPGraph *graph_p,
bool only_visible_range =
false)
const;
110 pappso::Trace toTrace(
const QCPRange &x_axis_range,
int index)
const;
112 const QCPGraph *graph_p)
const;
113 pappso::Trace toTrace(
const QCPRange &x_axis_range,
const QCPBars *bars_p)
const;