# Using QVTKOpenGLWidget with vtkContextItem-derived class

**URL:** https://discourse.vtk.org/t/using-qvtkopenglwidget-with-vtkcontextitem-derived-class/1092
**Category:** Support
**Created:** [June 7, 2019, 12:03am UTC](https://discourse.vtk.org/t/using-qvtkopenglwidget-with-vtkcontextitem-derived-class/1092 "2019-06-07T00:03:24Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [June 7, 2019, 2:35am UTC](https://discourse.vtk.org/t/using-qvtkopenglwidget-with-vtkcontextitem-derived-class/1092/2 "2019-06-07T02:35:00Z")

</div>

We use [ctkVTKChartView](https://github.com/commontk/CTK/blob/master/Libs/Visualization/VTK/Widgets/ctkVTKChartView.h) class (in CTK library) to show charts in our Qt-based application. You can find an example [here](https://github.com/commontk/CTK/blob/master/Libs/Visualization/VTK/Widgets/Testing/Cpp/ctkVTKChartViewTest1.cpp).

---

_[View the full topic](https://discourse.vtk.org/t/using-qvtkopenglwidget-with-vtkcontextitem-derived-class/1092)._
