The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.
User | Count |
---|---|
5 | |
3 | |
2 | |
2 | |
2 |
User | Count |
---|---|
11 | |
7 | |
5 | |
4 | |
4 |