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; var data: any;
export const type = 'ColumnChart'; export const type = 'ColumnChart';
export const options = { export const options = {
height: 600, height: 300,
chartArea: { top: 25, width: '85%', height: '80%' }, chartArea: { top: 25, width: '85%', height: '80%' },
legend: { legend: {
position: 'none' position: 'none'
}, },
hAxis: { hAxis: {
format: 'dd.MM.YY HH:mm', format: 'HH',
slantedText: true
}, },
vAxis: { vAxis: {
format: '# Wh' format: '# Wh'

View File

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