|
@@ -83,6 +83,9 @@ void ctkVTKChartViewPrivate::init()
|
|
|
//q->GetRenderWindow()->SetMultiSamples(0);
|
|
|
//vtkOpenGLContextDevice2D::SafeDownCast(this->ContextView->GetContext()->GetDevice())
|
|
|
// ->SetStringRendererToQt();
|
|
|
+#ifdef Q_WS_WIN
|
|
|
+ q->GetRenderWindow()->SetLineSmoothing(true);
|
|
|
+#endif
|
|
|
this->Chart->SetActionToButton(vtkChart::PAN, vtkContextMouseEvent::MIDDLE_BUTTON);
|
|
|
this->Chart->SetActionToButton(vtkChart::SELECT, vtkContextMouseEvent::RIGHT_BUTTON);
|
|
|
}
|