shell bypass 403
GrazzMean-Shell Shell
: /home/d/r/e/dreampi/www/wp-content/plugins/ameliabooking/assets/js/backend/components/ [ drwxr-xr-x ]
import { Line } from 'vue-chartjs'
export default {
extends: Line,
props: ['data', 'options'],
data () {
return {
defaultOptions: {
responsive: true,
maintainAspectRatio: false,
scales: {
xAxes: [{
ticks: {
stepSize: 1,
min: 0,
autoSkip: false
}
}],
yAxes: [{
gridLines: {
display: true
},
ticks: {
beginAtZero: true,
stepSize: 1,
min: 0,
userCallback: function (label) {
if (Math.floor(label) === label) {
return label
}
}
}
}]
}
}
}
},
methods: {
update (reRender) {
if (reRender) {
this.renderChart(this.data, this.options)
}
this.$data._chart.update()
}
},
mounted () {
this.renderChart(this.data, this.options)
}
}