Answer the question
In order to leave comments, you need to log in
Why isn't all data shown on HighCharts?
Good afternoon! Why are all the data (bars) not visible on the chart when using the HighCharts widget?
my view
echo HighCharts::widget([
'clientOptions' => [
'chart' => [
'height' => '700',
'type' => 'column'
],
'title' => [
'text' => 'График платежей'
],
'xAxis' => [
'categories' => $columnTitles,
],
'yAxis' => [
'min' => 1,
'type' => "logarithmic",
'title' => [
'text' => 'MDL'
]
],
'series' => $chartData
,
'plotOptions' => [
'column' => [
'stacking' => 'normal',
'dataLabels' => [
'allowOverlap' => true,
'enabled' => true,
'color' => 'white'
]
]
]
]
]);
Answer the question
In order to leave comments, you need to log in
Problem solved. The format of the incoming data was different. That is, values like 120.00 and 120 were perceived differently.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question