changed chart options
This commit is contained in:
parent
4281c67aa5
commit
df2c353201
@ -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'
|
||||||
|
|||||||
@ -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',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user