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 - Tolerance in ToolTip
Summary: Tolerance in ToolTip
Status: RESOLVED NOTABUG
Alias: None
Product: HTML5 JavaScript TeeChart
Classification: Unclassified
Component: Tools (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-14 04:44 EDT by yeray alonso
Modified: 2023-03-28 06:07 EDT (History)
2 users (show)

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 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;