chart changes
This commit is contained in:
parent
b4c7d8a66d
commit
ff79f88853
@ -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(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user