@tangle-network/charts 0.12.1 → 0.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1237,7 +1237,7 @@ function Lines({ series, format = formatCompact, rows = 13, axis, marks = [], ba
1237
1237
  hover !== null && /* @__PURE__ */ jsx(Tooltip, { tip: {
1238
1238
  x: Math.min(x(hover) + 10, width - em * 14),
1239
1239
  y: 8,
1240
- title: day(hover),
1240
+ title: axis ? axis(hover) : day(hover),
1241
1241
  lines: series.filter((s) => s.points.length).map((s) => {
1242
1242
  const p = nearest(s.points, hover);
1243
1243
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/charts",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "description": "Static SVG and HTML figures for benchmarks and operational timing. Draws from producer data and refuses what it cannot draw honestly.",
5
5
  "type": "module",
6
6
  "license": "MIT",