You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have given width as 1 for all the column charts. But all the charts have different widths. I have tried multiple combinations but don't seem to get all the charts to have the same specified width.
Thanks for using our Syncfusion Flutter widgets. We have analyzed the reported scenario and we would like to let you know that, the width of each column will be calculated based on the available axis width, number of points and width property specified in series. This is the actual behavior.
We have prepared a sample to depict this scenario in which we have 3 charts, each one having 4, 5 and 2 data points respectively. The column of these 3 charts renders with different in size.
Is there a way we can override this behaviour?
This is too cumbersome when plotting a time series.
For example if I want to plot a single data point in a chart spanning 24 hours, currently I am being forced to provide 24 points so that bar width remains same across all charts.
Most of the libraries handle this by default for a timeseries / Datetime axis.
I have given width as 1 for all the column charts. But all the charts have different widths. I have tried multiple combinations but don't seem to get all the charts to have the same specified width.
charts.add(ColumnSeries<ChartData, DateTime>( dataSource: data, yAxisName: 'yAxis1', name: 'Steps', xAxisName: 'xAxis1', color: Colors.green, width: 1, opacity: 0.7, xValueMapper: (ChartData sales, _) => sales.x, yValueMapper: (ChartData sales, _) => sales.y));
The text was updated successfully, but these errors were encountered: