Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
handleY() {
const { yScale, tickCount } = this
select(this.$refs.yScale).call(
axisLeft(yScale)
.tickSize(1)
.tickPadding(10)
.ticks(tickCount, 's')
)
},
handleX() {
const yAxis = (parent, {
yScale, tickCount, fontFamily, unxkcdify, stroke,
}) => {
parent
.append('g')
.call(
axisLeft(yScale)
.tickSize(1)
.tickPadding(10)
.ticks(tickCount, 's'),
);
parent.selectAll('.domain')
.attr('filter', !unxkcdify ? 'url(#xkcdify)' : null)
.style('stroke', stroke);
parent.selectAll('.tick > text')
.style('font-family', fontFamily)
.style('font-size', '16')
.style('fill', stroke);
};