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
This discussion was converted from issue #1928 on February 17, 2025 17:20.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi , i tried in javascript that program that gives me Error: missing: 0
type dataHie = {
"host": string,
"tokenId": string
}
const data = [
{ host: "100", tokenId: "1002" }, { host: "0", tokenId: "100" },{ host: "0", tokenId: "2" }
]
const _hierStrat=stratify().id(function(d:dataHie){return d.tokenId}).parentId(function(d: dataHie){ return d.host})(data)
, please can you tell what i did wrong.
thank you
Beta Was this translation helpful? Give feedback.
All reactions