Sign in to follow this  
Jacob Schwartz

vtrendline label only on hover?

Recommended Posts

Hi,

 

I'm using vtrendlines on zoomline charts and running into problems where I have multiple, closely located vtrendlines. The labels overlap each other and cannot be read. Check out the attached screenshot.

 

Is it possible to make each label visible only when the mouse hovers over the vtrendline?

 

Thanks!

 

Jacob

post-60137-0-21803800-1383844891_thumb.jpg

Share this post


Link to post
Share on other sites

Hi Jacob,

 

It is not possible to make each label visible only when the mouse hovers over the Vtrendline as of now.

 

As a workaround, you may display the trend label by using "valueOnTop" as 0 for first and as 1 for the second so that one value gets displayed on top of the trend line and the other at the bottom.

 

Eg.

<vTrendlines>
   <line startIndex='5' endIndex='5'  displayValue='First' valueOnTop='0'/>
<line startIndex='6' endIndex='6'  displayValue='Second' valueOnTop='1'/>
</vTrendlines>

 

Hope this helps.

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
Sign in to follow this