Forum Discussion
surfersamu
Helper II
8 years agoDoes anybody know how to translate Javascript to Typescript?
It would be awesome if someone could translate this: https://github.com/BernhardZuba/d3js-orgchart So we could use it as a custom visual.
v-viig
Community Champion
8 years agosurfersamu What is name of class that implements IVisual interface?
The same class name should be specified in visualClassName property of pbiviz.json.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
surfersamu
Helper II
8 years agoThis is from the pvibiz.json file:
"visualClassName": "BarChart"
This is from the BarChart.ts file:
export class BarChart implements IVisual
Looks like everything is correct. Not sure why I keep getting that error.