Steema Issues Database

Note: 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.



Bug 1471

Summary: The Cursor Tool doesn’t snap cursor to series
Product: Java TeeChart Reporter: sandra pazos <sandra>
Component: AndroidAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: 3.2015.0108   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2016-03-14 12:49:20 EDT
The cursorTool, doesn’t snap cursor to series. The code below shows the problem:
private void initializeChart()
{
    tChart1.getAspect().setView3D(false);
   // Create a new series of data:
    Series series1 = new Points( tChart1.getChart() ); // Bar,Area,Line etc

    series1.fillSampleValues(10);
    CursorTool cursorToolh = new CursorTool(tChart1.getChart());
    cursorToolh.setActive(true);
    cursorToolh.setFollowMouse(true);
    cursorToolh.setStyle(CursorToolStyle.HORIZONTAL);
    cursorToolh.getPen().setStyle(DashStyle.SOLID);
    cursorToolh.setSnap(true);
    tChart1.refreshControl();
}