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 2378

Summary: Tolerance in ToolTip
Product: HTML5 JavaScript TeeChart Reporter: yeray alonso <yeray>
Component: ToolsAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED NOTABUG    
Severity: enhancement CC: marc, yeray
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2020-10-14 04:44:37 EDT
Add some "tolerance" property in the ToolTip to only show it when the cursor is next to a point.
Comment 1 yeray alonso 2020-10-14 05:03:07 EDT
An example needing this "tolerance" property:

            var chart = new Tee.Chart("myCanvas1");
            
            for (i=0; i<3; i++) {
                var line = new Tee.Line();
                chart.addSeries(line);
                for (j=1; j<5; j++) {
                    line.data.values.push(i*i+j);
                }
                line.marks.visible=true;
            }

            var tip = new Tee.ToolTip(chart);
            chart.tools.add(tip);

            chart.axes.left.setMinMax(0,10);

            chart.draw();
Comment 2 marc meumann 2023-03-28 06:07:48 EDT
Use mode continuous false:

eg. line.continuous = false;