Hi Jaco,
Greetings from Syncfusion.
We have analyzed your scenario with the provided information at our end and we would like to let you know that if there are more than one Rect type series (column, bar types etc.,) are plotted in the chart, to avoid overlapping of data points, we have a feature to place the series type side by side in the chart to avoid overlapping of series data points. This can be controlled with the help of
enableSideBySideSeriesPlacement Boolean API available in
SfCartesianChart widget and its value defaults to
true.
For you case, we recommend you that you can set the enableSideBySideSeriesPlacement property to false to disable this feature so that the bar series data points will get rendered based on the available space. Please refer the code snippet below for reference.
|
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
enableSideBySideSeriesPlacement: false
));
} |
Screenshot:
We have also attached the user guide link below for further reference.
Please check and get back to us if you require further assistance.
Regards,
Sriram Kiran