Chart width fix

This commit is contained in:
vijikannan 2019-07-30 17:58:03 +05:30
parent 9986d9e971
commit c25668511d

View File

@ -528,9 +528,9 @@ export class GraphListComponent implements OnInit {
], ],
layout: { layout: {
hovermode: 'closest', hovermode: 'closest',
width: 350, //width: 350,
height: 250, height: 250,
autosize: true, autosize: false,
showlegend: false, showlegend: false,
barmode: 'relative', barmode: 'relative',
xaxis: { xaxis: {
@ -564,9 +564,9 @@ export class GraphListComponent implements OnInit {
], ],
layout: { layout: {
hovermode: 'closest', hovermode: 'closest',
width: 350, //width: 350,
height: 250, height: 250,
autosize: true, autosize: false,
showlegend: false, showlegend: false,
xaxis: { xaxis: {
tickangle: -45, tickangle: -45,
@ -720,7 +720,7 @@ export class GraphListComponent implements OnInit {
], ],
layout: { layout: {
hovermode: 'closest', hovermode: 'closest',
width: 350, // width: 350,
height: 250, height: 250,
autosize: false, autosize: false,
xaxis: { xaxis: {
@ -844,8 +844,8 @@ export class GraphListComponent implements OnInit {
layout: { layout: {
hovermode: 'closest', hovermode: 'closest',
height: 250, height: 250,
width: 365, //width: 365,
autosize: true, autosize: false,
annotations: [], annotations: [],
font: { font: {
size: 8.5, size: 8.5,
@ -912,8 +912,8 @@ export class GraphListComponent implements OnInit {
}, },
], ],
layout: { layout: {
autosize: true, autosize: false,
width: 350, // width: 350,
height: 250, height: 250,
xaxis: { xaxis: {
showgrid: false, showgrid: false,
@ -960,8 +960,8 @@ export class GraphListComponent implements OnInit {
}, },
], ],
layout: { layout: {
autosize: true, autosize: false,
width: 350, //width: 350,
height: 250, height: 250,
xaxis: { xaxis: {
showgrid: false, showgrid: false,