This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. Learn more
Hi,
Iam trying to add tool tip for my custom visual. I am facing an error TS2304: Cannot find name 'ItooltipServiceWrapper' on the below line of code. I did ran the command npm i powerbi-visuals-utils-tooltiputils --save
private tooltipServiceWrapper: ItooltipServiceWrapper;
Can you please help me in identifying what is missing here.
Solved! Go to Solution.
Hi @Anonymous,
Did you import ITooltipServiceWrapper into your TypeScript file?
import {
ITooltipServiceWrapper
} from 'powerbi-visuals-utils-tooltiputils';
I noticed that you're using a lower case 't' in 'ITooltipServiceWrapper'; the casing should match exactly.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @Anonymous,
Did you import ITooltipServiceWrapper into your TypeScript file?
import {
ITooltipServiceWrapper
} from 'powerbi-visuals-utils-tooltiputils';
I noticed that you're using a lower case 't' in 'ITooltipServiceWrapper'; the casing should match exactly.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Thanks for helping again. Yes i imported the ITooltipServiceWrapper into myTypeScript file. You are right. I missed to notice that iam using the lower case.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |