smart-labels 0.0.8 → 0.0.9

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smart-labels",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "A basic library for adding labels to a visualization when there is enough space",
5
5
  "type": "module",
6
6
  "main": "dist/smartLabels.min.js",
package/src/index.js CHANGED
@@ -28,7 +28,7 @@ export default function smartLabels(
28
28
  height = null,
29
29
  target = null, // Where do you want it to draw
30
30
  renderer = "svg", // canvas or svg
31
- font = () => "18px sans-serif",
31
+ font = () => "10px sans-serif",
32
32
  hover = true, // Show label of the hovered point
33
33
  onHover = (i) => i, // callback when hovered, will pass the index of the selected element
34
34
  hoverFont = () => "bolder 12px sans-serif",