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.
- package/package.json +1 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
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 = () => "
|
|
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",
|