chart changes

This commit is contained in:
venbaittech 2025-04-07 17:56:03 +05:30
parent b4c7d8a66d
commit ff79f88853

View File

@ -2674,8 +2674,10 @@ class ChartWidget extends StatelessWidget {
null || null ||
chartData['chart_label_width'] == 0) chartData['chart_label_width'] == 0)
? 150 ? 150
: chartData[ : (double.tryParse(
'chart_label_width'], // Added space for rotated titles chartData['chart_label_width']
.toString()) ??
150), // Added space for rotated titles
getTitlesWidget: (value, meta) { getTitlesWidget: (value, meta) {
if (value < groupByValues.length) { if (value < groupByValues.length) {
String title = groupByValues.elementAt( String title = groupByValues.elementAt(