Felipe Vendramini

Scrollbar control

Recommended Posts

Hello once again!

It's the second time I'm here even after no reply on my first need, but ok. I have two questions. There's any way we can control the scrollbar directly in the library? Or there's any known way to do this by JavaScript/JQuery? Our company system had it working on an old library through Library, but it don't work anymore and the charts doesn't even use the same classes and IDs.

Thank you in advance

Edited by Felipe Vendramini

Share this post


Link to post
Share on other sites

Hi Filipe,

 

FusionCharts supports several chart types with scroll feature enabled on the charts, that helps you to avoid cluttering of plots, thereby providing a clean look. Please check the below documentation link for reference :

https://www.fusioncharts.com/dev/chart-guide/standard-charts/scroll-charts

You can customize the number of plots to be visible on the canvas at an instance.

To customize the scroll bar, refer to this documentation link : https://www.fusioncharts.com/dev/chart-guide/standard-charts/scroll-charts#customizing-the-scroll-bar

 

Thanks,

Akash.

Share this post


Link to post
Share on other sites

Oh, I'm sorry, I think that I may have not explained the issue very well. I'm working on an update for our system, which used the library on an old version (around 2013) and this has the autoscroll feature, so when the user scrolled the table the chart would scroll too, in that way both Chart and Table would show the same data.

Screenshot_163.thumb.png.63c838ca1dde2fdf69198362ed95a678.png

But, the old code doesn't work anymore. I can't find a handler for the scrollbar to make it's start position in the end (right) and neither can change it's position with JQuery.

Share this post


Link to post
Share on other sites

Hi Felipe,

 

You can set the scrollPosition attribute in your dataSource of the scroll chart that you are using to configure the position of the scroll on the chart. Please refer to the below documentation link :

https://www.fusioncharts.com/dev/chart-guide/standard-charts/scroll-charts#position-scroll-bar

Also you can use the scrollTo() API method supported by FusionCharts to set the scroll position programmatically. Please check the below link for the supported method list :

https://www.fusioncharts.com/dev/api/fusioncharts/fusioncharts-methods

However, it is not natively supported to scroll the chart based on the scroll interaction made on any table of data.

 

Thanks,

Akash.

Share this post


Link to post
Share on other sites
2 hours ago, Akash Biswas said:

Hi Felipe,

 

You can set the scrollPosition attribute in your dataSource of the scroll chart that you are using to configure the position of the scroll on the chart. Please refer to the below documentation link :

https://www.fusioncharts.com/dev/chart-guide/standard-charts/scroll-charts#position-scroll-bar

Also you can use the scrollTo() API method supported by FusionCharts to set the scroll position programmatically. Please check the below link for the supported method list :

https://www.fusioncharts.com/dev/api/fusioncharts/fusioncharts-methods

However, it is not natively supported to scroll the chart based on the scroll interaction made on any table of data.

 

Thanks,

Akash.

It is it, thank you very much.

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