Closed
Description
Description:
Something happened from v3 to v4 that really messed up the data label positioning when the bar series is transposed - relevant snippets below:
SfCartesianChart(
...
isTransposed: true,
...
series: <BarSeries<ValueData, String>>[
...
dataLabelSettings: DataLabelSettings(
isVisible: true,
position: CartesianLabelPosition.outer,
labelPosition: LabelPosition.outside,
alignment: ChartAlignment.center,
textStyle: ChartTextStyle(
fontSize: 8.5,
fontWeight: FontWeight.bold,
),
),
...
],
)
The following is for the same exact code, just updating from v3 to v4 of package.
Here is the output from v3:
Here is the output from v4:
Issue Resolution:
Fix data labels and add more robust testing/checks for when bar series enables isTransposed: true
Metadata
Metadata
Assignees
Labels
No labels