centerX property
X value for placing the chart. The value ranges from 0% to 100% and also if values are mentioned in pixel then the chart will moved accordingly.
For example, if set 50%
means the x value place center of the chart area
or we set 50
means the x value placed 50 pixel.
Defaults to 50%
.
Widget build(BuildContext context) {
return Container(
child: SfCircularChart(
centerX: '50%'
)
);
}
Implementation
final String centerX;