Recently, we upgraded the version of TeeChart.NET we use in our applications from version 4.1.2015.5144 to version 4.1.2017.10194.
Unfortunately, we are now facing regression issues regarding zooming of the charts and scrolling in a zoomed in chart.
To illustrate the issue, I made an example that adds a single simple bar series to the chart:
Code: Select all
Steema.TeeChart.Styles.Bar bar = new Steema.TeeChart.Styles.Bar(tChart1.Chart); for (int i = 0; i < 10; ++i) bar.Add(i);
- 'start_full_view.png' visualizes the starting situation for both versions, which looks ok for both versions. No issues here.
- 'zoom_bar.png' visualizes the difference in behaviour when zooming in to 1 bar of the bar series. The old version nicely visualizes this 1 bar in the zoomed chart, keeping the bar width the same and restricting the horizontal and vertical axis range. The newer version unfortunately doesn't even show the 1 bar that is zoomed in, bars are way wider and overlapping other bars, and the horizontal axis range doesn't seem to be restricted correctly. The vertical axis range seems to be restricted correctly.
- 'scroll_left_right.png' visualizes the difference in behaviour when scrolling horizontally through the zoomed chart. The old version nicely scrolls to left and right, keeping the same space between each data point and showing the previous and next bars of the bar series on the chart. In the newer version, it looks like only the end point of the horizontal axis can be influenced by scrolling, since the starting point always stays the same. As a result, when scrolling to the left in the newer version, the space between data points increases, and when scrolling to the right, the space decreases.