Jump to content
JChartFX Community
  • 0
Jev

Tooltip delay

Question

Jev    0

Hello,

we are evaluating jchartfx for using in our main application as the primary chart system. We are interested in the jChartFX+ version.

It looks good and we can do all our things with jchartfx but we can not find how we can reduce the delay for the tooltip. It takes about 2 seconds until the tooltip will be shown. 

How can we reduce the delay? This is a very important feature for us and if it is not possible to reduce the time jChartFX+ is out of the question for us.

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0
JuanC    3

chart1.getToolTips().setInitialDelay(200);

The delay is specified in milliseconds.

Regards,

JuanC

Share this post


Link to post
Share on other sites
  • 0
Jev    0

Thank you for your reply.

If i try it on a horizontal gauge it does not work. 

I am getting an exception: Uncaught TypeError: hg.getToolTips(...).setInitialDelay is not a function.

I have searched the whole sources and the method "setInitialDelay" does not exist.

 

Share this post


Link to post
Share on other sites
  • 0
JuanC    3

We added this functionality somewhat recently as setTimeHover and it was later renamed to setInitialDelay.

In order to use setTimeHover you need to use build 6114 or newer.
In order to use setInitialDelay you need to use build 6162 or newer.

I would recommend downloading our pre-release version which is 7.5.6127 and use setTimeHover. We should be uploading a new build soon.

Regards,

JuanC

Share this post


Link to post
Share on other sites
  • 0
Jev    0

Many thanks. in the pre-release setTimeHover is working but not with the horizontalGauge. How can i do it with horizontalGauge? 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×