juijs / vue-graph

⚡️ Vue components based on the JUI chart available in Vue.js
https://codepen.io/collection/nWpqoB/
128 stars 16 forks source link

Names not working in graph-treemap tooltips #40

Open ibuco opened 3 years ago

ibuco commented 3 years ago

They are just ignored, and data.text is used (which is too bad, because I need to shorten the displayed names). Also, would be cool if I could pass properties to svg elements (I'm not sure what "styles" does), so that I can attach events that have, for example, node indexes passed to

But I guess you know about this issue, since this is what it says in the code :)

// TODO: 좋은 방법은 아닌 것 같다. ㅠㅠ if(self.$parent.$vnode.tag.indexOf('graph-treemap') == -1) {