Evelina Rim

Vuejs and allowDrag

Recommended Posts

I managed to use

allowDrag

as per example
 

"dataset": [{
                "seriesname": "Android Devices",
                "data": [{
                    "value": "73",
                    "alpha": "100",
                    "allowDrag": "1"
                }, {
                    "value": "80",
                    "alpha": "100",
                    "allowDrag": "1"
                }]

My question is, how can I disable this dynamically? Is there a way to apply "allowDrag" on whole chart rather than dataSet? My intension is to set allowDrag depending on other states in application. 

Share this post


Link to post
Share on other sites

Hi Evelina,

 

In drag-able charts, you can set the "allowDrag" attribute either at the data level for individual data plots, or at the dataset level for individual series dataset.

This attribute is not supported for chart-level dataSource for it to apply across the entire chart. Please refer to the documentation link of Drag-able charts : https://www.fusioncharts.com/dev/chart-guide/standard-charts/drag-able-charts

Also find the attribute description(for both data and dataset level) in the attribute list of drag chart : https://www.fusioncharts.com/dev/chart-attributes/dragline

 

Thanks,

Akash.

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