Project

General

Profile

Bug #6072

Unable to zoom or pan while the chart’s data is being updated.

Added by Apivan Tuntakurn almost 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/30/2017
Due date:
% Done:

0%

Estimated time:

Description

The attached project added a WTimer to update the data every interval by calling WStandardItemModel::setData. The chart is not able to be correctly zoomed or panned.

Steps to reproduce

  1. Run the attached project
  2. Try to zoom in the chart.
  3. Try to pan the chart.

Actual result:

Unable to zoom and pan. The view port keeps resetting to the position before panning.

Expected Result:

The view port shall not be affected from changing curve data.


Files

charts2_zoom_pan_while_update.tar.gz (1.17 MB) charts2_zoom_pan_while_update.tar.gz Apivan Tuntakurn, 10/30/2017 10:44 AM

No data to display

Also available in: Atom PDF