npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@impetusuxp/vizualy-assistant

v1.0.0

Published

Vizualy charting library assistant methods

Readme

assistant.js

This is a helper file which is used by different vizually charts component to consume its methods.

Methods

getDefaultMargin()
this method is used to return default margin.
getDefaultColor()
this method is used to return default color.
emitEvent()
this method is used to emit event.
drawSVG()
this method is used to draw the SVG.
updateSVG()
this method is used to update the SVG.
drawAxisGroup()
this method is used to draw the axis group.
wordWrap()
this method is used to wrap the word.
updateXAxis()
this method is used to update the x-axis.
updateYAxis()
this method is used to update the y-axis.
updateY1Axis()
this method is used to update the y1 axis.
adjustTicks()
this method is used to adjust ticks spacing to not overlap.
displayMessageOnScreen()
this method is used to displays provided messages on screen.
setDimension()
this method is used to set the dimensions.
cleanContainer()
this methos is used to remove the svg element.
createTooltipWrapper()
this method is used to create the wrapper for tooltip.
hideTooltipWrapper()
this method is used to hide the tooltip wrapper
drawGridLines()
this method is used to draw the grid lines.
removeGridLines()
this method is used to remove the grid lines.
drawAxisLabels()
this method is used to draw the axis labels.
removeAxisLabel()
this method is used to remove the axis labels.
populateTooltipContent()
this method is used to populate the tooltip content.
getAxisFirstTick()
this method is used to populate the tooltip content.
setScale()
this method is used to set the scale.
setScaleRounding()
this method is used to set the scale round to true.
setScalePadding()
this method is used to set the scale padding
isValidScaleType()
this method is used to validate scale type for given data.
isValidScaleType()
this method is used to validate scale type for given data.
isValidbarSpaceValue()
this method is used to validate barspace value in percentage.
setTooltipPosition()
this method is used to the position of tooltip.
setTooltipPosition()
this method is used to the position of tooltip.
drawLegendContainer()
this method is used to draw legend container.
drawZoomButtonsContainer()
this method is used to draw zoom button container.
drawLegend()
this method is used to draw legends.
positionLegend()
this method is used to give position to the legends.
getTransitionFunction()
this method is used to apply transition and animation as per the duration.
applyResizeEventHandler()
this method is used to risize the chart.
applyResizeEventHandler()
this method is used to resize the chart.

Contributor

Impetus Technologies