jquerycssgoogle-pie-chart

Unable to increase Google piechart width


i am trying created to google pie-chart this pie chart increase circle height and width but my case hole div size is increase html:-

<div id="RedFlagChart" class="square2">
                    </div>

css:-

 #RedFlagChart {
        width: 800px;
        height: 800px;
        position: absolute;
        top: -30px;
        left: -30px;
} 

Solution

  • Modify the chartArea property set the desired height and width

    chartArea:{left:20,top:0,width:'50%',height:'75%'}

    more info in the documentation

    demo