ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  How to make PolarChart to show negative values
Posted by Youssef on Aug-14-2009 09:42
Attachments:
Hi,

I have this data to show on a polar chart:

$data0 = array( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
$data1 = array(-2,-2,-2,-2,-3,-2,-3,-3,-1,-2,-3,-2,-1,-1,-3,-2,-2,-2,-1,-3,-3,-3,-2,-2,-3,-1);
$data2 = array( 2, 2, 3, 3, 2, 3, 3, 3, 2, 1, 3, 2, 2, 2, 2, 3, 3, 3, 2, 3, 3, 3, 3, 3, 2, 1);

but the problem is the polar chart starts with value "0" in the middle and converts the negative numbers to positive !! see attached pic

please help

regards
radar.png

  Re: How to make PolarChart to show negative values
Posted by Youssef on Aug-14-2009 15:04
the problem solved by adding

$c->radialAxis->setLinearScale(-3,3,1);