[vtkusers] vtkChartXY live update

des fitzgerald des at intrepid-geophysics.com
Fri Mar 9 18:41:17 EST 2018


hi

you can try

renXYwin->Modified();

every time you want the update.

djf
On 10/03/2018 7:36 AM, Seun Odutola wrote:
> Hi everyone,
>   
>      I’m currently looking at how to create a chart (line plots), I looked at the sample Line Plot in vtk and tried replicating this in my app. What I need is a way to have the chart continuously update rendering based on incoming data. What I’ve gathered so far is that I need a vtkTable along with the vtkChartXY, I have gotten this to work so far so good. However, if I need to add more values to my table as time goes by and was wondering what the best way is in doing so.
>
> note: I have my application setup to use a timer with an observer in order to trigger a function I want to use for update purposes.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtkusers

-- 
Des FitzGerald
Director
Intrepid Geophysics
Suite 110, 3 Male Street
Brighton, Victoria 3186
AUSTRALIA
PH: +61 3 9593 1077
Mob: 0418 138 793
FAX: +61 3 9592 4142
WEB: www.intrepid-geophysics.com
EMAIL: des at intrepid-geophysics.com
EMAIL: desmondjamesfitzgerald at gmail.com



More information about the vtkusers mailing list