This commit is contained in:
Hillel Coren 2020-02-24 14:07:51 +02:00
parent 23adcf4d46
commit 0c55801572
2 changed files with 9 additions and 6 deletions

View File

@ -455,12 +455,15 @@ class ReportCharts extends StatelessWidget {
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)) {

View File

@ -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,