Answer the question
In order to leave comments, you need to log in
Why don't the latest Highcharts show negative values in the popup window?
Good day. The problem is that on the version of Highcharts 4.1.10 there are negative values (even if they are not on the chart), but on version 5.0.2 they are no longer there (more precisely, if they are displayed on the chart).
echo \miloschuman\highcharts\Highcharts::widget([
'scripts' => [
'modules/exporting'
],
'options' => [
'title' => ['text' => ''],
'xAxis' => [
'type' => 'datetime',
'dateTimeLabelFormats' => [ // don't display the dummy year
'month' => '%e. %b',
'year' => '%b',
],
'title' => [
'text' => '',
]
],
'yAxis' => [
[
'title' => ['text' => 'Установки'],
'min' => 0
],
[
'title' => ['text' => ' Рубли ' ],
'opposite' => true,
'min' => 0
]
],
'tooltip' => [
'shared' => true
],
'series' => $date
]
]);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question