Answer the question
In order to leave comments, you need to log in
Why is the data not showing up in the highcharts navigator?
But they come in navigator.series.data.
data() {
return {
chartOptions: {
rangeSelector: {
verticalAlign: 'bottom',
x: 0,
y: 0,
inputDateFormat: false,
inputPosition: {
align: 'right',
enable: false
},
buttons: [
{
type: 'month',
count: 1,
text: '1',},
{
type: 'month',
count: 3,
text: '3'
},
{
type: 'month',
count: 6,
text: '6'
},
{
type: 'month',
count: 12,
text: '12'
},
{
type: 'all',
text: 'All'
}
]
},
legend: {
enabled: true,
align: 'left',
verticalAlign: 'top'
},
title: {
text: 'Statistic'
},
series: [
{
data: [],
name: 'queries',
color: '#176de6',
tooltip: {
valueDecimals: 2
}
},
{
data: [],
name: 'groups',
color: '#e3e317'
},
{
data: [],
name: 'documents',
color: '#3de617'
},
{
data: [],
name: 'categories',
color: '#e31717'
},
],
navigator: {
series: {
data: []
},
},
}
}
},
computed: {
...mapGetters([
'DATA'
]),
},
methods : {
...mapActions([
'GET_DATA'
]),
setDatas(){
return setTimeout(()=>{
for(let i=0; i<this.request_data.length; i++){
this.chartOptions.series[0].data = Object.values(this.request_data[0])[1].map(e=>e.value)
this.chartOptions.series[1].data = Object.values(this.request_data[1])[1].map(e=>e.value)
this.chartOptions.series[2].data = Object.values(this.request_data[2])[1].map(e=>e.value)
this.chartOptions.series[3].data = Object.values(this.request_data[3])[1].map(e=>e.value)
this.chartOptions.navigator.series.data = Object.values(this.request_data[0])[1].map(e=>new Date(e.date))
}
}, 1000)
},
}
},
created() {
this.GET_DATA()
this.setDatas()
}
Answer the question
In order to leave comments, you need to log in
It is best to start with English. In general, everything is excellently stated on laracast.com.
Start by reading the entire documentation - laravel.su/docs/5.4
Hey!
Before you start learning Laravel, I advise you to watch https://www.youtube.com/watch?v=e6GW8LIPxB0&list=P... . The author manages to show the construction of systems in a very intelligible and understandable way.
From these videos, you can understand the essence of not only Laravel, but perhaps the essence of other frameworks.
--------------------------------------
But if you need it very quickly, then you make up a website in 5 pages (or landing) + admin panel. "Planting"
it on Laravel. With all authorizations, with sending mail, admin panels, forms, validations. You work with two Russian-language sites, there is a lot of information there. On one, almost official translated documentation, and on the other, ready-made solutions in the form of small articles. Well, plus vidos in the search format for a specific task. If it is completely incomprehensible, ask questions on various resources. With some perseverance, it will take a week. Of course, it will be far from perfection, but the realization "... how I lived all these years without Laravel ..." will come.
All the best to you and good luck!
According to this site it is not bad to start cccp-blog.com/category/laravel .
Read the documentation, try to implement them practically. There is a lot of information on Habré. See the code on github for popular packages. And look at the framework code itself. In Laravel, the hardest part is Container and DI.
A little outdated: https://www.youtube.com/playlist?list=PL9ogRqeIEMz...
But it is very detailed, there is a detailed analysis of each functionality of the framework
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question