You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Problem with chart data wrapping at the end of a visible timeline and overwriting valid data
#709
We have a x-axis timeline moving from right to left with the right side being the most recent. Every few seconds we add a new DoubleGridDataSet to the ContourDataSetRenderer at index 0. This new data is displayed as expected with previous data moving periodically towards the y axis which is positioned on the left. We are adding new datasets because they have potentially different number of y axis values.
Once the data reaches the Y axis the data values are then displayed as a solid block periodically moving from the Y axis from left to right - overwriting data that is still moving from right to left.
So below the valid data sets are the thin green bars and the thick block is data moving from the Y axis to the right - overwriting the valid data.
We would have expected the oldest data to disappear beyond the Y axis and be visible via zoomer panning not come back from the Y axis as appears to be happening. Limiting the datasets by deleting the oldest above a certain amount stops the block from advancing to the right so it appears it is related to having too many datasets on the visible chart.
Converting the chart to a line based chart (with e.g. timeline being the same) behaves as expected.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
We are using chartfx version 11.2.7
We have a x-axis timeline moving from right to left with the right side being the most recent. Every few seconds we add a new DoubleGridDataSet to the ContourDataSetRenderer at index 0. This new data is displayed as expected with previous data moving periodically towards the y axis which is positioned on the left. We are adding new datasets because they have potentially different number of y axis values.
Once the data reaches the Y axis the data values are then displayed as a solid block periodically moving from the Y axis from left to right - overwriting data that is still moving from right to left.
So below the valid data sets are the thin green bars and the thick block is data moving from the Y axis to the right - overwriting the valid data.
We would have expected the oldest data to disappear beyond the Y axis and be visible via zoomer panning not come back from the Y axis as appears to be happening. Limiting the datasets by deleting the oldest above a certain amount stops the block from advancing to the right so it appears it is related to having too many datasets on the visible chart.
Converting the chart to a line based chart (with e.g. timeline being the same) behaves as expected.
Any help appreciated.
All reactions