You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Sunburst` is the main component of this library and display sunburst chart based on `data` props using `children` property for hierarchy, `name` property for naming and `size` property for arcs size.
18
18
19
-
`Sunburst` component provides three optional slots:
19
+
`Sunburst` component provides four optional slots:
20
20
21
21
*`legend` and `top` slots are intended to be used to display additional information such as legend
22
+
*`pop-up` to create a pop-up for an arc
22
23
*`default slot` is intended to receive renderless component providing behavior: for example, highlighting on mouse over or zoom on click
23
24
24
25
Components providing standard and reusable features are provided.
@@ -46,6 +47,7 @@ npm i vue-d3-sunburst
46
47
<templateslot-scope="{ on, actions }">
47
48
<highlightOnHoverv-bind="{ on, actions }"/>
48
49
<zoomOnClickv-bind="{ on, actions }"/>
50
+
<popUpOnHoverv-bind="{ on, actions }"/>
49
51
</template>
50
52
51
53
<!-- Add information to be displayed on top the graph -->
0 commit comments