[vtkusers] vtkChartXY live update
Seun Odutola
seun at rogue-research.com
Mon Mar 12 14:50:22 EDT 2018
Hi Des,
Thanks for the suggestion, I’m already doing that. I guess what am trying to achieve if I can rephrase my last post properly is that I need a way to have my table populated on the fly, that is if I start off with a table with say a single column, for each column I insert a value (essentially creating a row per column if I understand the API), then as I get new values, I want to be able to insert these values into the column.
Regards,
Seun
> On Mar 9, 2018, at 6:41 PM, des fitzgerald <des at intrepid-geophysics.com> wrote:
>
> 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
>
> _______________________________________________
> 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
More information about the vtkusers
mailing list