KoolReport's Forum

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

Google chart configuration options #395

Open sneha narnaware opened this topic on on Jul 26, 2018 - 3 comments

sneha narnaware commented on Jul 26, 2018

Hi support,

I am trying to hide x-axis values and show that value to top of the line chart intends of over on it

<?php
       AreaChart::create(array(
                "dataStore"=>$this->dataStore('together'), 
 
	    "width"=>"100%",
		"options"=>array(
				"responsive"=>true,
				"legend"=>array(
				"position"=>"bottom",
				"style"=>"circle",
				)
				)
));
?>

I can't use columns array here because the column name keep change according to the data-Id is there any to do this .... and also I want to use legends circle style in areachart or line chart ........

in pie chart its taking extra space top, bottom , left , right

<?php
       DonutChart::create(array(
                "dataStore"=>$this->dataStore('Total_Report'), 
				"left"=>"0px",
                                 "top"=>"0px",
				"width"=>"100%",
     "options"=>array(
            "responsive"=>true,
			"legend"=>"none",             
            ),
   "colorScheme"=>array("#69CD4B","#82A6E0","#d8c600",
   "#ED561B", "#0dd2e8", "#058DC7"),			
				
));
?>
David Winterburn commented on Jul 27, 2018

Hi,

It's regretted I haven't found out how to hide Google Charts' x-axis and overlay the lines' values over it. Regarding legend's style, you could try the following options:

"options" => array(
                    'pointShape' => 'circle',
                    'pointSize' => 10,
                ),

Let us know if you need anything else. Thanks!

mike commented on Jul 27, 2018

I appreciate your help .... Its working as I expected ... but its showing values when we hover it ... my requirement is that it has to display on chart by default.......

I am trying to remove the pie charts margins mentioned in previous questions ......

sneha narnaware commented on Jul 30, 2018

any update ....

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