Sign in to follow this  
guidodebouver

Zoomline - getting the start and end in pin mode

Recommended Posts

dear support,

 

thank you for this great product.

 

I am using a zoomkine and it is easy to get to the start and end of the chart using the ...

...chart.ref.getViewStartIndex();...

 

However, I want to get the start and end of the area that was selected whilst in pin mode.

The above returns me the current start and end of the complete chart, but I want to get back the start and end of the selected mode.

 

Any ideas ?

 

thank you,

 

guido

 

Share this post


Link to post
Share on other sites

Hi,

 

For the kind of your requirement you can try the "pinned" event in the chart. 

 

Please refer the demo fiddle below:

http://jsfiddle.net/moonmi/th8o5wa7/

 

In the fiddle we have alerted the start and end index of the pinned mode if the chart. 

 

Do refer the documentation link below:

http://docs.fusioncharts.com/FusionCharts.events.html#event:pinned

 

Hope this would resolve the issue. Feel free to drop us a mail if you have any other queries.

 

Thanks.

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