Hi.
I have some values to display on a LineChart that are way larger than the rest. How should I handle this situation?
Currently, my LineChart has the following configuration in order to avoid negative values while using the "function" curveType.
LineChart::create(array(
"title"=>"Vendas entre ".$from_date ." e " .$to_date,
"dataSource"=>$report1->dataStore('sales_sellers'),
"columns"=>$columns,
"options"=>array(
"curveType"=>"function",
"vAxis"=>[
"ticks"=>[0,25000,50000,75000,100000,125000,150000],
],
),
"name"=>"chart_sales_seller",
));
Which displays:
The "spike" value is greater than 1 000 000, while all the other values are around 100 000. Since the data is dynamically added to the chart, is there a way of displaying the gridlines evenly spaced, while preserving the minimum value at 0 and using the "function" curveType function?