KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Chart options for show or display... #394

Open mike opened this topic on on Jul 26, 2018 - 5 comments

mike commented on Jul 26, 2018

Hi ,

I am trying to hide label of pie chart ..

please suggest me any options to that

David Winterburn commented on Jul 27, 2018

Hi Mike,

Please add the following option to your chart:

"options" => array(
                    'legend' => 'none',
                ),

For more options of Google Charts, please refer to this docs: https://developers.google.com/chart/interactive/docs/basic_customizing_chart#specify-options Thanks!

mike commented on Jul 27, 2018

Thanks for help , How to remove top extra space of pie charts..

David Winterburn commented on Jul 30, 2018

Hi Mike,

Please use this option:

"options" => array(
                    'chartArea' => array(
                        'height' => '90%'
                    ),
                ),

Thanks!

mike commented on Jul 30, 2018

hello David,

 "options"=>array(
        "responsive"=>true,
		"legend"=>"none",
		'chartArea' => array(
                    'height' => '90%'
                ),
        		
        ),

This options is not working out.....

David Winterburn commented on Jul 31, 2018

Hi Mike,

A chart's size is decided by both its height and width. Please try increasing its width as well to see how it goes. Thanks!

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

None