Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/queuepro/node_modules/apexcharts/src/modules/axes/ drwxrwxr-x | |
| Viewing file: Select action/file-type: import XAxis from './XAxis'
import YAxis from './YAxis'
export default class Axes {
constructor(ctx) {
this.ctx = ctx
this.w = ctx.w
}
drawAxis(type, xyRatios) {
let gl = this.w.globals
let cnf = this.w.config
let xAxis = new XAxis(this.ctx)
let yAxis = new YAxis(this.ctx)
if (gl.axisCharts && type !== 'radar') {
let elXaxis, elYaxis
if (gl.isBarHorizontal) {
elYaxis = yAxis.drawYaxisInversed(0)
elXaxis = xAxis.drawXaxisInversed(0)
gl.dom.elGraphical.add(elXaxis)
gl.dom.elGraphical.add(elYaxis)
} else {
elXaxis = xAxis.drawXaxis()
gl.dom.elGraphical.add(elXaxis)
cnf.yaxis.map((yaxe, index) => {
if (gl.ignoreYAxisIndexes.indexOf(index) === -1) {
elYaxis = yAxis.drawYaxis(index)
gl.dom.Paper.add(elYaxis)
}
})
}
}
}
}
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0043 ]-- |