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 - The Cursor Tool doesn’t snap cursor to series
Summary: The Cursor Tool doesn’t snap cursor to series
Status: CONFIRMED
Alias: None
Product: Java TeeChart
Classification: Unclassified
Component: Android (show other bugs)
Version: 3.2015.0108
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-14 12:49 EDT by sandra pazos
Modified: 2016-03-14 12:49 EDT (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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();
}