Reports
This commit is contained in:
parent
23adcf4d46
commit
0c55801572
|
|
@ -453,14 +453,17 @@ class ReportCharts extends StatelessWidget {
|
||||||
|
|
||||||
final ordinalAxis = charts.OrdinalAxisSpec(
|
final ordinalAxis = charts.OrdinalAxisSpec(
|
||||||
renderSpec: charts.GridlineRendererSpec(
|
renderSpec: charts.GridlineRendererSpec(
|
||||||
lineStyle:
|
lineStyle:
|
||||||
charts.LineStyleSpec(color: charts.MaterialPalette.transparent),
|
charts.LineStyleSpec(color: charts.MaterialPalette.transparent),
|
||||||
labelStyle: charts.TextStyleSpec(fontSize: 10, color: color)));
|
labelStyle: charts.TextStyleSpec(fontSize: 10, color: color),
|
||||||
|
labelRotation: 45,
|
||||||
|
));
|
||||||
|
|
||||||
final dateTimeAxis = charts.DateTimeAxisSpec(
|
final dateTimeAxis = charts.DateTimeAxisSpec(
|
||||||
renderSpec: charts.SmallTickRendererSpec(
|
renderSpec: charts.SmallTickRendererSpec(
|
||||||
labelStyle: charts.TextStyleSpec(color: color),
|
labelStyle: charts.TextStyleSpec(color: color),
|
||||||
lineStyle: charts.LineStyleSpec(color: color)));
|
lineStyle: charts.LineStyleSpec(color: color),
|
||||||
|
));
|
||||||
|
|
||||||
Widget child;
|
Widget child;
|
||||||
switch (getReportColumnType(reportState.group, context)) {
|
switch (getReportColumnType(reportState.group, context)) {
|
||||||
|
|
|
||||||
|
|
@ -218,7 +218,7 @@ class ReportsScreenVM {
|
||||||
.rebuild((b) => b..userCompany.settings.replace(settings));
|
.rebuild((b) => b..userCompany.settings.replace(settings));
|
||||||
final completer = snackBarCompleter<Null>(
|
final completer = snackBarCompleter<Null>(
|
||||||
context, AppLocalization.of(context).savedSettings);
|
context, AppLocalization.of(context).savedSettings);
|
||||||
if (state.authState.hasRecentlyEnteredPassword && false) {
|
if (state.authState.hasRecentlyEnteredPassword) {
|
||||||
store.dispatch(
|
store.dispatch(
|
||||||
SaveUserSettingsRequest(
|
SaveUserSettingsRequest(
|
||||||
completer: completer,
|
completer: completer,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue