Forum Discussion
Inherit from other visuals?
- 7 years ago
import ChicletSlicer = powerbi.extensibility.visual.ChicletSlicer;
Have you tried such an import?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
You just need to install Chiclet Slicer as a dependency via NPM. After that please add TS files into your tsconfig.json. Please do the same for externalJS from pbiviz.json.
After these steps you will be able to import Chiclet Slicer to inherit it.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- bfialkoff7 years agoFrequent VisitorThat is list the github repo in my package.json as a dependancy, the path to all of the .ts files in the chiclet slicers src folder to my tsconfig. What should be added to externalJS?
- v-viig7 years agoCommunity Champion
The same what is listed in Chiclet Slicer: https://github.com/Microsoft/PowerBI-visuals-ChicletSlicer/blob/master/pbiviz.json#L20
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- bfialkoff7 years agoFrequent Visitor
Can you clarify what does the import statement look like? I have followed your instructions, I currently have the link to chiclet-slicers github repo listed in my depenencies, I have copied the urls in the externalJS, and tsconfig. I don't know what to do from here. I've tried various import statements nothing seems to work.