How to make bigger plots?

0
How to make zoom in for plots? It should take all space and labels should show in below the plots.   [  {    "values": [      10,      20,      30    ],    "labels": [      "1st Qtr",      "2st Qtr",      "3st Qtr"    ],    "type": "pie"  }] {  "title": {    "text": "Average Simulation Time"  }}
asked
1 answers
0

 

Example

var data = [{
  values: [10, 20, 30],
  labels: ['1st Qtr', '2nd Qtr', '3rd Qtr'],
  type: 'pie',
  textinfo: 'label+percent',
  insidetextorientation: 'radial'
}];

var layout = {
  title: {
    text: 'Average Simulation Time'
  },
  height: 400,
  width: 500,  
  showlegend: true,
  legend: {
    orientation: 'h', 
    x: 0.5,          
    xanchor: 'center',
    y: -0.3           
  }
};

Plotly.newPlot('myDiv', data, layout);

 

answered