Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
canvas,
start: cfg.start,
end: cfg.end,
isVertical,
factor: cfg.factor,
ticks,
label(text) {
return {
text,
textStyle: parser.label.textStyle,
};
},
},
defaultStyle
);
const axis: any = new Axis.Line(axisConfig as any);
axis.layer = scale.layer;
axis.render();
return axis;
}