15 #ifndef BORNAGAIN_MVVM_VIEW_MVVM_PLOTTING_GRAPHCANVAS_H
16 #define BORNAGAIN_MVVM_VIEW_MVVM_PLOTTING_GRAPHCANVAS_H
18 #include "mvvm/view_export.h"
24 class GraphViewportItem;
25 class SceneAdapterInterface;
39 std::unique_ptr<SceneAdapterInterface> createSceneAdapter()
const;
41 void setViewportToContent(
double left,
double top,
double right,
double bottom);
43 void setViewportToContent();
45 void setAxisMargins(
int left,
int top,
int right,
int bottom);
52 std::unique_ptr<GraphCanvasImpl>
p_impl;
Widget to show scientific figure with multiple 1D graphs.
std::unique_ptr< GraphCanvasImpl > p_impl
void axisMarginsChanged(int left, int top, int right, int bottom)
2D viewport specialized for showing multiple GraphItem's.
materialitems.h Collection of materials to populate MaterialModel.