Re: [Lazarus] Hint of TAChart

2015-03-03 Thread Valdas Jankūnas
2015-03-01 19:24 GMT+02:00 Werner Pamler :

> You are probably working with DistanceMode=cdmOnlyX of the
> DataPointHintTool; with cdmOnlyY the hint would appear if the mouse is at
> the left or right outside the series region.
>
...

> think the other datapoint tools do not need it). With "MouseInsideOnly"
> set to true the hint does not appear if the mouse is outside the plotting
> frame.
>
>

"MouseInsideOnly" helped. Thank you.

__
 Valdas Jankūnas
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Hint of TAChart

2015-03-01 Thread Werner Pamler
You are probably working with DistanceMode=cdmOnlyX of the 
DataPointHintTool; with cdmOnlyY the hint would appear if the mouse is 
at the left or right outside the series region.


I am not sure if this is really a bug, but I can imagine that users 
could be surprised by this behavior. Therefore, I added a new property 
"MouseInsideOnly" to TDatapointHintTool and TDatapointCrosshairTool (in 
fact, it is implemented already for their ancestor TDataPointTool, but I 
think the other datapoint tools do not need it). With "MouseInsideOnly" 
set to true the hint does not appear if the mouse is outside the 
plotting frame.



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Hint of TAChart

2015-03-01 Thread Valdas Jankūnas

Hello,

 in TChart I use TDataPointHintTool. I discovered (see attached 
screeshot) that Hint is triggered also in outside of frame (frame -> 
area where series is plotted). This happens at upper and bottom but not 
at left and right sides of frame.


 Is this OK or bug?

 Sorry for my bad English.

--
  Valdas Jankūnas
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus