![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | ScrollPager tool zoom only in the parent chart | ||
|---|---|---|---|
| Product: | Java TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Android | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | --- | ||
| Version: | 3.2016.0419 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
When you have a ScrollPager, if you don't disable the Zoom, when you drag the ColorBand in the ScrollPager, the Zoom rectangle is drawn covering the whole chart as if it was a regular chart. private void scrollPagerTest() { Line series = new Line(tChart1.getChart()); series.fillSampleValues(); //tChart1.getZoom().setAllow(false); new ScrollPager(tChart1.getChart()); tChart1.addChartPaintListener(new ChartPaintAdapter() { @Override public void chartPainted(ChartDrawEvent e) { if (tChart1.getTools().getTool(0).getClass() == ScrollPager.class) { ScrollPager s = (ScrollPager) tChart1.getTools().getTool(0); if (s.getSeries() == null) { s.setSeries(tChart1.getSeries(0)); TChart scrollPagerChart = s.getSubChartTChart(); ThemesList.applyTheme(scrollPagerChart.getChart(), 11); ThemesList.applyTheme(s.getChart(), 11); } } } }); }