zcaudate

Fusionchart timeseries plot draws dots instead of lines at smaller scale

Recommended Posts

I'm using the time series plots with Vue and when the graph loads there are lines but when I zoom in to a certain magnification, the lines disappear. I'm not sure if this is a bug or a customisation trick that I'm not seeing.

The following is the configuration. Please help.

```

{
width: '700',
height: '600',
type: 'timeseries',
dataFormat: 'json',
dataSource: {
chart: {
multiCanvas: true,
theme: 'gammel'
},
navigator: {
enabled: 0
},
data: fusionTable,
caption: {
text: 'MVP'
},
subcaption: {
text: 'Giannis'
},
series: 'Player',
yAxis: [{
plot: {
value: 'Yes',
type: 'line'
},
format: {
round: 0
},
// min: '0',
// max: '1000',
title: '',
orientation: 'right',
showGridband: '1',
style: {
 
line: {
'stroke-width': '3'
}, // Style
'grid-band': {
fill: '#f5f5ef'
}
}
}]
}
}

```

Screen Shot 2020-05-12 at 10.42.19 pm.png

Screen Shot 2020-05-12 at 10.42.29 pm.png

Share this post


Link to post
Share on other sites

Hi zcaudate,

We would suggest you to modify the data binning as per the granularity of you data to connect the disconnected data points for the line plot type in the FusionTime chart as per your requirement.

 

Sample for your reference: https://codesandbox.io/s/ft-binning-sample-6x0nv?file=/src/App.vue

Documentation reference:https://www.fusioncharts.com/dev/fusiontime/getting-started/change-default-aggregation#change-data-binning

 

Hope this will help.

Thanks,

Srishti

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