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

@oge-ui/charts

v0.13.0

Published

Signal-based Angular charts: line/spline/area/bar/stacked/scatter/range/candlestick series and pie/doughnut on a dependency-free SVG kernel — calendar-true time axes, log axes, zoom & pan, crosshair, shared tooltips, interactive legend and full keyboard a

Readme

@oge-ui/charts

Commercial package. Unlike the rest of the OGE UI suite (MIT), the charts are source-available commercial software: free for evaluation, development and testing — a paid license is required for production use. No watermark, no runtime license checks. See LICENSE and ogeui.com/license.

Signal-based Angular charts on a dependency-free SVG kernel — no D3, no Chart.js, no canvas library, and unlike @oge-ui/scheduler/gantt this package takes no suite dependency beyond @oge-ui/core: the tooltip and legend are plain positioned markup, so the whole family rides on one pure engine.

Series & axes

  • <oge-chart>: 16 series types — line, spline (Catmull-Rom), stepLine, area, splineArea, stepArea, stackedArea, fullStackedArea, bar, stackedBar, fullStackedBar, rangeBar (value1..value2 spans), scatter, bubble (sizeField drives the bubble area), rangeArea, candlestick — mixed freely, with commonSeries defaults, per-series color/dash/width/opacity, visible initial state, showLabels value labels and null-value gaps (never fake zeros)
  • <oge-pie-chart>: pie/doughnut with outside labels in two anti-overlap columns, connector lines, small-value grouping (topN/smallValueThreshold → an "Others" slice) and slice explode on selection
  • Axes: argument axis auto-detects numbers/dates/categories; calendar-true time ticks (real month boundaries, DST-safe), 1-2-5 nice-tick linear axes, logarithmic axes, multiple value axes (position: 'end'), grid, titles, labelFormat, overlap resolution (rotate/skip), SI-abbreviated labels and stripLines markers/bands
  • Stacking accumulates positives and negatives on separate branches; fullStackedBar normalizes each argument to 100%; stack groups split independent stacks
  • <oge-polar-chart>: radar/polar on the same kernel — line/area radar loops (null values break the loop into gaps), scatter markers and bar sectors around a category circle, with circular or spider (polygon) grids
  • Annotations: point (marker dot + connector + label box) and text labels anchored at (argument, value), with a *ogeChartAnnotationTemplate HTML override
  • <oge-range-selector>: the overview strip — a mini background chart with a draggable window and two WAI-ARIA slider handles; bind [(value)] to a chart's [(visualRange)] and the two stay in lockstep

Interaction

  • Cursor-centered wheel zoom, drag-select zoom (Escape cancels mid-drag), Shift+drag pan, [(visualRange)] two-way, Escape reset
  • Crosshair snapping to the nearest argument, single or shared tooltips (*ogeChartTooltipTemplate override), interactive legend (real buttons, cancelable legendClick, axes rescale on toggle), point/series selection with [(selectedPoints)]
  • Performance contract: one <path> per series regardless of point count, automatic LTTB downsampling to ~one point per pixel for oversized line/area series (peaks survive; hit-testing keeps the full data), markers only under markerThreshold, O(log n) binary-search hit-testing, rAF-coalesced pointer/resize work — 50k/200k-point smoke tests guard it
  • Legend items spotlight their series on hover (the rest dim), toggle visibility on click, and respect the series' initial visible flag

Export@oge-ui/charts/export-image (lazy, dependency-free): the live SVG is serialized with computed styles inlined, downloaded as a standalone .svg or rasterized to .png (pixel ratio, background).

Accessibility (honest limits)

No WAI-ARIA APG pattern covers a chart; the widget composes: role="img" with a generated label, a screen-reader-only role="table" carrying the first rows of data (an OGE extra — none of the reference libraries ship one), real legend buttons with aria-pressed, and a focusable plot region where arrow keys walk arguments and series with polite live-region announcements — Enter selects, Escape resets zoom. All strings, including every aria label, live in OgeChartsMessages (provideOgeChartsConfig, config-level locale).

Docs: ogeui.com/components/charts · AI reference: llms.txt