changed chart options

This commit is contained in:
Ralf Bauer 2023-06-03 15:48:11 +02:00
parent 4281c67aa5
commit df2c353201
2 changed files with 5 additions and 3 deletions

View File

@ -18,14 +18,13 @@ import { GChart } from 'vue-google-charts';
var data: any;
export const type = 'ColumnChart';
export const options = {
height: 600,
height: 300,
chartArea: { top: 25, width: '85%', height: '80%' },
legend: {
position: 'none'
},
hAxis: {
format: 'dd.MM.YY HH:mm',
slantedText: true
format: 'HH',
},
vAxis: {
format: '# Wh'

View File

@ -17,6 +17,9 @@ var data: any;
export const type = 'Calendar';
export const options = {
height: 250,
colorAxis: {
colors: ['#FFFFFF', '#0000FF']
},
calendar: {
cellSize: 20,
daysOfWeek: 'MTWTFSS',